Hello,
i can't find information what is the time source for cron execution in automatation in Jira Cloud.
I have automation with cron expression 0 * 1-12 ? * 2-6 and it started at:
04/08/23 02:18:53 pm
04/08/23 02:19:03 pm
04/08/23 02:19:51 pm
but should start at every minut between 1am and 12am hour from Monday to Friday. Why it started at 2pm?
When I've changed cron expression to 0 * 14 ? * 2-6 it didn't start at 02pm at all.
So now i'm super confused what is time source for cron automation. Hour format should be 24H according to Atlassian's documentation.
@Hubert Bedyk Cron expressions are scheduled based on UTC, My guess is your timezone is (UTC+14/UTC-10) so if you want to run it based on your own timezone then you will need to take that into account
"Cron expressions are scheduled based on UTC" That I missed.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check your timezone - cron in Automation runs in UTC.
I don't believe you can set a timezone in cron via Automation at this point - see this feature request: AUTO-101 - but you could set your timing based on UTC time, for when 1am-12am is in your timezone.
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've missed the information that "cron in Automation runs in UTC."
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've looked again at https://support.atlassian.com/jira-software-cloud/docs/manage-filters/ and there is no information about that. The same here: https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/ but it's clearly noticed in the box below cron expression setting in the system.
My mistake.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.