How can I use cron expression to schedule quarterly backup? Like Backup at 12:00AM on every 1st January, 1st April, 1st July and 1st October.
CodePudding user response:
Try setting up the event with this:
cron(0 12 1 1/3 ? *)
This translates to:
1/3
-> every third month
1
-> on the first day of the month
0 12
at 12 PM
One of the day-of-month or day-of-week values must be a question mark (?)
PS. Keep in mind that time is in UTC 0
.