you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 1 year ago*

Here you go:

with-lock-ex -q /path/to/lockfile sh -c '
while true; do
    crontab cronfile;
    sleep 60;
done;'
  • source
  • parent