Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to build a cron expression for 2nd last Friday

Neetu Verma August 4, 2020

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
Tom Williams
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 10, 2020

@Neetu Verma  This site might help you out. 

http://www.cronmaker.com/

Neetu Verma August 10, 2020

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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 4, 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

Neetu Verma August 20, 2020

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events