I want to automate a task to be created twice a year. Once on 1st May and once on 1st November, at 12:45am UTC.
I have used the following CRON expression and I think this is correct, but would really appreciate confirmation?
0 45 0 1 5,11 ? *
Thank you.
Your expression is correct,
This is how I would do it : 0 45 0 1 5/6 ? *
0 : midnight
45 : minutes
0 : seconds
1 : first day of month
5/6 : fifth month of each 6 month cycle (May, November)
? : Day of week (ignored)
* : every year
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello guys,
can you help me define a cron expression for 01.01 and 01.06 of every year ?
Thank you in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.