Jira - Cron expression

Gavin
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.
July 5, 2021

So I have the following cron expression

00 9 * * * ?

which I thought was run this everyday at 9 am

 

But based on the email I've been getting

  • It's every hour at 9th minute of the hour

 

Followed: https://support.atlassian.com/jira-software-cloud/docs/construct-cron-expressions-for-a-filter-subscription/

What am I doing wrong?

 

 

1 answer

1 accepted

8 votes
Answer accepted
Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 5, 2021

Hi @Gavin ,

That expression will indeed translate to 

At second :00 of minute :09 of every hour

The expression you would want is: 0 0 9 ? * * *

That translates to: At 09:00:00am every day

You can easily generate these by using an online tool, for example: https://www.freeformatter.com/cron-expression-generator-quartz.html

Suggest an answer

Log in or Sign up to answer