October 30, 20214 yr I have my parity check scheduled to run on the last day of each month at 0:00. This always ran fine (for multiple years), except for today when it suddenly did not. It didn't start at 0:00. I've waited till 01:05, but it never started. Looking at the root file in /etc/cron.d it shows that "the last day of the month" is calculated as follows: [[ $(date +%e -d +1day) -eq 1 ]]. I suspect this to be an issue with the fact that today is the day when daylight saving time ends, as 31st 0:00 + 1 day will probably result in 31st 23:00, getting just the day value of that is 31 which is not equal to 1, so the cron job results in false and won't run. Edited October 30, 20214 yr by ssh Spelling
November 1, 20214 yr Same issue here under almost same settings (start at 00:30 end of month). Parity check didn't start. Edited November 1, 20214 yr by Kydonakis
November 1, 20214 yr Community Expert On the other hand I had a user script schedulled to run at 1AM running twice, second time causing an error, just rescheduled it and made sure I have nothing else scheduled between midnight and 1AM.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.