Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,288
Community Members
 
Community Events
168
Community Groups

How to build a cron expression for 2nd last Friday

Hi,

Can someone please help me to build Cron expression for 2nd Last Friday of each month. 

 

I can't seem to to use 6L#2, it says the wrong expression

2 answers

1 accepted

1 vote
Answer accepted

@Neetu Verma  This site might help you out. 

http://www.cronmaker.com/

Thank you, I tried but 2nd last Friday is not even an option for cron builder :-) I have added 2 separate rules. Our build is always 2nd last Friday and it gets tricky with those months when we have 5 Fridays.

 

Thank you so much for helping out.

Thanks

Neetu

1 vote
Curt Holley Community Leader Aug 04, 2020

Wouldn't it be something like the example here: https://support.atlassian.com/jira-software-cloud/docs/construct-cron-expressions-for-a-filter-subscription/

i.e. 

0 15 20 ? * 6L 

For it to run at 8.15pm on the last Friday of the month

This is for Last friday, I was looking for 2nd last friday

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events