For example, if you use docker (which is a process manager in addition to a container manager) you could create a container that starts, performs the job of the script once, and exits. Then your cron command would be “docker start my-task-name”. Other process managers I like are perp, and runit.
In reply to Re: singleton lock not reliable
by NERDVANA
in thread singleton lock not reliable
by pidloop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |