merari42@lemmy.world to Programmer Humor@programming.dev · 2 天前Works if manually restarted by an intern from time to timelemmy.worldimagemessage-square56fedilinkarrow-up1634arrow-down14
arrow-up1630arrow-down1imageWorks if manually restarted by an intern from time to timelemmy.worldmerari42@lemmy.world to Programmer Humor@programming.dev · 2 天前message-square56fedilink
minus-squaredondelelcaro@lemmy.worldlinkfedilinkarrow-up6·edit-22 天前Here you go: with-lock-ex -q /path/to/lockfile sh -c ' while true; do crontab cronfile; sleep 60; done;'
Here you go:
with-lock-ex -q /path/to/lockfile sh -c ' while true; do crontab cronfile; sleep 60; done;'