Cron Expression in reocurring tasks


I am setting up a re-occurig task in JIRA, which I'd like to run at 12:01 AM Monday to Friday. 

So I have the following Cron expression in place

0 01 0 * MON-FRI

And the task is set to start from 2017-08-02 00:01 but when this is saved it says the next run date is 2017-09-01 01:00

Images of the screens are included 


Any ideas on where I might be going wrong?




2 answers

1 accepted

0 votes
Accepted answer

Hi Susan,

First of all, if you want to run at 12:01 AM, I believe your cron expression should look like:

1 0 * * MON-FRI"

(minutes come before hours).

That being said, the add-on you're using would not do that for you. The reason is highlighted on your screenshot, as they are creating issues every 30 minutes. This means that even though you'll set a desired cron expression, your actual running time will get "rounded up" to next half an hour.

If you'd like to have a precise control over when the tasks are created (without the 30 minutes rounding), I'd suggest you give The Scheduler a try.

All the best,


Thanks very much Maciej - i thought it would be quiet a silly mistake! I'll have a look at Scheduler too.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

330 views 0 1
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you