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
libre.moe
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
lukas removed this from the Issue Board project 2024-12-17 12:27:50 +01:00
Sign in to join this conversation.
No description provided.