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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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
Community Members
Community Events
Community Groups

CRON expression for last business day minus 2

Hi :) 


I'm trying to create to a CRON expression to run on the following:

every 3rd from last business day (LBD -2) at 8:30am every month


I thought i cracked it with:

0 30 8 LW-2 * ?

but it doesn't accept the '-2'


Is there another way I can do this or a simpler way?


Many thanks :) 

1 answer

1 accepted

0 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 24, 2023 • edited

Hello @LRobinson 

Welcome to the Atlassian community.

Where in Jira are you trying to use that CRON expression?

I don't see anything in the CRON documentation that indicates you can use "-2" in combination with LW for Day Of Month.

I don't believe it is actually possible to do what you want based on this CRON expression generator when the last working day of the month is a moving target for both date (28th, 29th, 30th, etc.) and day of week.

Hi Trudy,


Thank you for your response. I'm using this when trying to set a schedule for an automation. 

That is unfortunate. I'll have to figure something else.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events