cron expression for 3pm each day

 Hello - 


Trying to run a cron job at 3PM each day - is the syntax supposed to read 

0 0 3 ? * *

 

Thank you,
Scott

1 answer

1 accepted

This widget could not be displayed.

Hello,

 

this would make run the CRON everyday at 3 AM, not PM. Formats are listed here:

https://confluence.atlassian.com/jiracorecloud/constructing-cron-expressions-for-a-filter-subscription-765593786.html

So it should be 0 0 15 ? * *

 

(Don't worry its for filter results, CRON format inside JIRA is same for all things)

Would this make the job run everyday at 3PM as well?

0 0 15 * * ?

No.  It means just 15:00.

Yes, it is valid format too. As ? is expressed as no particular value value (usefull for day of motnh or day of week positions) and * is expressed as any particular value.

 

0 0 15 ? * * means on every day of week in every month at 15:00

0 0 15 * * ? means on every day of month in every month at 15:00

 

There are lots of way to do this thing in CRON format - you can try it here:

http://www.cronmaker.com/

or

https://www.freeformatter.com/cron-expression-generator-quartz.html#

Other formats, which should work too:

0 0 15 1/1 * ? *

0 0 15 ? * MON-FRI

 

Take a look on the examples at page I posted, it should help you understand the CRON format.

@Scott McDonaldAny updates? Is it working for you?

If the answer solved it for you, please, accept it as answer, so other people with same question will see it as accepted answer.

Thanks and have a nice day.

Regards,

Frenk

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

54 views 1 0
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