cron expression task

Hi All,

 

Could you help me with the following Task
I want start a Task every Day at 7:50 pm and 8:30 pm, whats wrong on this Expression?
0 50,30 19,20 ? * *

The Time was in UTC

3 answers

This widget could not be displayed.
Gaston Valente Community Champion Dec 13, 2017

I think you need to use:

 

0 50,30 19,20 * * *

This will run at 19:30 19:50 20:30 20:50, every day of every month of every weekday.

If you to run at 7:50 pm and 8:30 pm, i think you need two tasks, but i'm not sure

This widget could not be displayed.

Hi Michael,

That one will fire at second :00, at minutes :50 and :30, at 19pm and 20pm, of every day. 

Therefore it will fire at 19:30, 19:50, 20:30, 20:50

You cannot be that specific in one task, you will need two tasks, one for 19:50 and one for 20:30. Otherwise if you can be happy with 19:00 and 19:40, then use this one:

0 0,40 19,19 ? * *

This widget could not be displayed.

Thx very much.
So i take two Tasks.

 

best regards

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

143 views 1 3
Join discussion

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