Why do crons that run once a week, run on Saturday instead of Monday?
Why do crons that run once a week, run on Saturday instead of Monday?
My cron is for time 0 1 * * 0 and it runs on saturday not monday, when I chose the once a week setting.
Why?
-
The 0 1 * * 0 (0 at the end) should run your cron on a Sunday - 1) Are you sure this cron is the one that is being executed on a Saturday ? 2) Are you sure the server date/time settings are correct ? 3) Are you in the same time zone as the server (or have you made allowances for the difference) ? 0 -
Hello @desbest, The final number in the cron job determines the day it runs. You can review the following page for more information about how this works: Cron - Wikipedia You can also review the /var/log/cron file to see a log of all cron activity on the system. Thanks! 0
Please sign in to leave a comment.
Comments
2 comments