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

0 vote
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

0 vote

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 ? * *

0 vote

Thx very much.
So i take two Tasks.

 

best regards

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published yesterday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

40 views 0 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot