minus-squaredondelelcaro@lemmy.worldtoProgrammer Humor@programming.dev•Works if manually restarted by an intern from time to timelinkfedilinkarrow-up6·edit-25 days agoHere you go: with-lock-ex -q /path/to/lockfile sh -c ' while true; do crontab cronfile; sleep 60; done;' linkfedilink
minus-squaredondelelcaro@lemmy.worldtoProgrammer Humor@programming.dev•Works if manually restarted by an intern from time to timelinkfedilinkarrow-up10·5 days agoThat’s why there’s a crontab rule to load the crontab from a file. Cronception if you will. linkfedilink
Here you go:
with-lock-ex -q /path/to/lockfile sh -c ' while true; do crontab cronfile; sleep 60; done;'