Need a CRON Expression to schedule a automation that runs each March 1st at no particular time.

DeAnna Law April 10, 2024

I have looked through several of the cron posts here and even used some of the suggested builder applications on the web.  I keep getting an unexpected character alert, will someone kindly help me. 

Expressions I have tried with no luck so far:

0001MAR**
000?3/1**
0013*

Need:  A expression to run every 1st of March (not time specific) each year

1 answer

1 accepted

2 votes
Answer accepted
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 10, 2024

Try this...

0 0 0 1 3 ?

second minute hour day-of-month month day-of-week

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 10, 2024

By the way, be sure to check out the provided link in the advanced area when setting up a cron. You might find this tool useful to test cron syntax as well - https://crontab.cronhub.io/ . There are a lot of other resources out there. I have to pull these up on the rare occasions where I need a cron. 😉

Like DeAnna Law likes this
DeAnna Law April 10, 2024

Thank you so much Jack, I guess that spacing is essential here!  This solved my issue and I appreciate the time and the additional link to info provided. 

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 10, 2024

You bet. Note that there is also an extra zero in my offering as you need seconds, minutes, hour. Also consider accepting the answer if it works for you.

Like DeAnna Law likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events