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

Thx very much.
So i take two Tasks.

 

best regards

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Trello

Alice Camilla on organizing your work/life/fandoms with Trello!

@Alice Camilla is a university student, currently writing her MA thesis in Archaeology. She's also a freelance blogger and content creator, writing about geeky stuff from productivity apps to JR...

69 views 2 7
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