Automatically kill cron scripts that fail to finish #38
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
Solved using
timeout <time-interval> <command>
in crontab file