merari42@lemmy.world to Programmer Humor@programming.dev · 9 days agoWorks if manually restarted by an intern from time to timelemmy.worldimagemessage-square58fedilinkarrow-up1642
arrow-up1642imageWorks if manually restarted by an intern from time to timelemmy.worldmerari42@lemmy.world to Programmer Humor@programming.dev · 9 days agomessage-square58fedilink
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up7·9 days agoMake the rule start a secondary cron system. Otherwise it won’t run after you erase the crontab.
minus-squaredondelelcaro@lemmy.worldlinkfedilinkarrow-up6·edit-28 days agoHere you go: with-lock-ex -q /path/to/lockfile sh -c ' while true; do crontab cronfile; sleep 60; done;'
Make the rule start a secondary cron system. Otherwise it won’t run after you erase the crontab.
Here you go:
with-lock-ex -q /path/to/lockfile sh -c ' while true; do crontab cronfile; sleep 60; done;'