Hello -
Trying to run a cron job at 3PM each day - is the syntax supposed to read
0 0 3 ? * *
Thank you,Scott
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.
It looks like you're new here. Sign in or register to get started.