Hello,
I am trying to create a cron job to schedule a task for every year on April first and I try to use " 0 0 6 1 Apr * " , but it does not work?
What am I missing?
Thank you.
Elif
Try this:
0 0 12 1 4 ? *
It works. So this will create an Jira issue every year 1st of April at 12am, correct?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Correct, that CRON expression translates to the 1st of April every year at 12am.
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.
@Elif Alverson
The solution above would actually be 12 PM, not 12 AM.
This would be yearly on April 1 at 12 AM:
0 0 0 1 4 ? *
Also, keep in mind Atlassian CRON run on UTC :)
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.