I have some cron jobs that I want to start at different times. I’ve tried the following settings (please see Attachment.), but they all start at the same time anyway. What am I doing wrong, can someone give me a tip?
Thanks in advance!
P.S.: Please ignore the time difference in the log, e.g .: ‘* / 2 * * *’ to ‘0 2 * * *’. I just cut the debugging time. Each cron job should only be performed once a day.
Well, Based on the cron you have there, it actually ran at the right time.
You have it set to run at every 2nd and 3rd minute. Six minutes after the hour is divisible by 2 and 3. So it ran.
I’ve been using the cron and it seems to run very well.
If you want to offset the minutes, try using seconds.
* The cron format consists of:
* [SECOND (optional)] [MINUTE] [HOUR] [DAY OF MONTH] [MONTH OF YEAR] [DAY OF WEEK]
@amaurer-rise Many thanks for the quick response.
Please ignore the time difference in the log, e.g .: ‘* / 2 * * *’ to ‘0 2 * * *’. I just cut the debugging time. Each cron job should only be performed once a day.
Actually, the job is supposed to start at 2 a.m. and the other at 3 a.m.