Cron issue since last Thursday

Jonathan Tarry
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!
November 5, 2023

I've raised this as a bug - but wondering if anyone else is seeing Cron for automation working incorrectly since last Thursday.

 

I had a number of scheduled automations which had all been running perfectly for months, and since Thursday 2nd November 2023, these are now triggering incorrectly at the wrong times of day - with no seeming connection to the Cron expression.

 

The expression is "0 0 19-7 ? * SUN-FRI"

 

It's now triggering Friday evening and Saturday evening incorrectly, but also correctly on Sunday evening.

1 answer

0 votes
Marko Blagus
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.
November 5, 2023

Hello @Jonathan Tarry,

 

Welcome to the community!

19-7 is unsupported value for hours.

You can check the official documentation for CRON expression if you haven't already here.

And here you can check free online CRON expression generator.

 

Best regards,

Marko Blagus

Jonathan Tarry
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!
November 6, 2023

Hi @Marko Blagus

 

Thanks for your welcome and response to the question.

 

I'm interested to know why you think 19-7 is unsupported?  Even the online CRON generator will generate that too.

 

Still, I am going to try the uglier method of manually listing every hour, and every day rather than using ranges.

 

I was wondering if anyone else was seeing unexpected behaviour with Cron since last week, as the previously stable behaviour of the last 6 months is now behaving differently.  Perhaps they updated their Cron package, but I didn't see any mention in the 'what's new in Jira' pages.

 

Thanks,

Jon. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events