Troubleshooting
Cron error fixes
The exact error messages, why they happen, and a corrected expression for each. Includes the silent mistakes that run on the wrong day.
QuartzQuartz error: day-of-week AND day-of-month not implementedThrows an errorQuartzQuartz runs a day early: weekday numbers start at Sunday = 1Runs, but at the wrong timeQuartzQuartz error: unexpected end of expressionThrows an errorQuartzQuartz error: illegal characters for this positionThrows an errorQuartzQuartz expression is valid but never firesValid but never firesSpringSpring error: cron expression must consist of 6 fieldsThrows an errorSpringSpring error: found 7 fields (a Quartz expression)Throws an errorAWS EventBridgeEventBridge error: ScheduleExpression is not validThrows an errorAWS EventBridgeEventBridge rejects both day fields being setThrows an errorKubernetesKubernetes CronJob does not support secondsThrows an errorKubernetesKubernetes CronJob runs at the wrong timeRuns, but at the wrong timeGitHub ActionsGitHub Actions: day-of-week must be 0-6Throws an errorGitHub ActionsGitHub Actions runs in UTC, not ISTRuns, but at the wrong timeCrontabcrontab error: bad minuteThrows an errorCrontabcrontab error: bad day-of-weekThrows an error