I want a task to run midnight on the 3rd of each month, I was trying to use:
0 0 0 3 * ? *
The form says:
Invalid cron expressionInvalid task schedule. Must be a valid standard cron expression, and all occurrences must be on a 5-minute mark.
The entry is valid as far as I can tell.
The intent is then to run another task using
5 0 0 3 * ? *
Basically 5 minutes after the first one.
And finally:
0 0 1 3 * ? *
1am every 3rd of the month to renable everything.
For why:
- Task one, sets an title data variable to stop updates to Leaderboards
- Task two, resets every player's stat in the leaderboard based on their progress so far (rounding and dropping one level, not back to zero as a new leaderboard version would do).
- Task three, sets the title data variable to say everything is complete.
What is wrong with the cron expression I'm using?