I have a cronjob that runs every second minute, which usually runs in seconds, but sometimes within a few minutes.
I need cron to not execute the command if it is already running when the next minute arrives.
The line looks like this: * / 1 * * * * cmd
I tried with this * * * * * ID = job1 FREQ = 1m AFTER = job1 cmd
but without success.
Can I resolve with cron or block?
source
share