Open mrtimp opened 4 years ago
Hi @mrtimp I think this might have to do with the odd behavior of the seconds field in gocron.
Can you try with schedule = 1 * * * * *
(every minute on the 01 second),
and also try schedule = 60 * * * * *
(every minute on the 60th second, this one might throw a config error).
Hi Ofelia team,
I noticed something odd when trying to implement an "every minute" job with a cron like syntax. I had hoped to schedule a job every one minute:
But notice that while it runs every minute it runs the second before and on the second of the minute:
An alternative with @every 1m (but not specifically locked to the 0th second of the new minute):
Notice only a single job is executed every minute (which is expected).