Automatically kill cron scripts that fail to finish #38

Closed
opened 2024-06-02 22:13:38 +02:00 by lukas · 1 comment
Owner

Sometimes a backup cron script might fail to execute because it gets stuck. A way to let this script be killed after ~4h would be great to keep zombie processes from existing.

Sometimes a backup cron script might fail to execute because it gets stuck. A way to let this script be killed after ~4h would be great to keep zombie processes from existing.
lukas added the
Involves
Testing
Priority
Low
Domain
LibreMoe
labels 2024-06-02 22:13:47 +02:00
lukas self-assigned this 2024-06-02 22:13:50 +02:00
lukas added this to the Issue Board project 2024-06-02 22:13:58 +02:00
Author
Owner

Solved using timeout <time-interval> <command> in crontab file

Solved using `timeout <time-interval> <command>` in crontab file
lukas closed this issue 2024-06-03 16:52:01 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: KomuSolutions/igot99issues#38
No description provided.