Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

cron expression task

Michael Krebs
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 13, 2017

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 votes
Michael Krebs
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 13, 2017

Thx very much.
So i take two Tasks.

 

best regards

0 votes
Eduard M
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 13, 2017

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

Siavosh Kasravi
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.
January 19, 2019

19,19 is redundant. It can be 19 alone.

0 votes
Gaston Valente
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.
December 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

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira product discovery, jpd premium, product management, idea management, product discovery, jira premium, product planning, atlassian community, product development, roadmap planning, product prioritization, feature management

Introducing Jira Product Discovery Premium ✨

Jira Product Discovery Premium is now available! Get more visibility, control, and support to build products at scale.

Learn more
AUG Leaders

Atlassian Community Events