Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JIRA Automation | Cron syntax

Really getting into the JIRA automation, and have a question regarding the cron syntax for scheduled tasks.

I know how to do 9am on 2nd tuesday of each month, with the 3#2, but was curious if there is a way to do  2nd tuesday + 3 days (3 days after the 2nd tuesday)?

Would 3#2+3 work? Havent tried it, guessing that syntax actually wouldnt, but wondering if there is some syntax that would/known? I know its a stretch...

Thanks

 

2 answers

Hi @Jim Kinter 

You can try the cronmaker application to introduce the values and translate them into cron expression you are looking for

I hope it helps you
Greetings

Yeah, I tried 0 0 9 ? 1/1 3#2+3 * and it blew an error (like I expected).
Ill see how I can get creative starting with 0 0 9 ? 1/1 3#2 * and then maybe set the due date +3 or something.

Thanks for trying (and showing me that link (I usually use crontab.guru)

Like Paloma Fondon Araujo likes this
0 votes
Darryl Lee Community Leader Feb 12, 2021

Wouldn't 3 days after the second Tuesday always be the second Friday?

0 0 9 ? * 5#2

while 6#2 would be the 2nd friday, it would not be the friday after the 2nd tuesday (3#2+3) if the 1st of the month fell on Wed/Thu/Fri .

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you