Re: cron: support single instance jobs

2020-04-16 Thread Leo Unglaub
Hey, i think this is a brilliant idea and it would remove a lot of bloat from my scripts. So i gave your code a try on the latest snapshot and it worked very well. Thanks for this! Thanks and greetings Leo Am 16.04.2020 um 16:56 schrieb Todd C. Miller: One annoying issue with cron is that it

cron: support single instance jobs

2020-04-16 Thread Todd C . Miller
One annoying issue with cron is that it has no way to prevent jobs from being run concurrently. As a result, cron jobs have to do their own locking to prevent concurrent execution. The following adds a "-s" flag to the command field which indicates that only a single instance of the job should ru