Forums

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

Help with CRON expression for Filter Subscription - every 30 minutes, every weekday, from 7am to 6pm

Nathan Given
Contributor
August 4, 2023

My goal is to have the subscription run every weekday, every 30 minutes, from 7am to 6pm.

Thus, I tried to set it up using this cron expression:

0 0/30 7-18 ? * MON-FRI *

 

It ran yesterday just fine, but then stopped.  This is what I see on the subscriptions page:

 

It seems weird that the "next send" is set for yesterday?

If I open this and re-save it, then it will work for a day, but then stop working again.

I'm not sure why this only works for a day, then stops.

Thanks,

Nathan

1 answer

0 votes
Mark Segall
Community Champion
August 4, 2023

Hi @Nathan Given 

Your cron should work, but maybe you could try this to see if it's having an issue with the MON-FRI clause:

0 0/30 7-18 ? * MON,TUE,WED,THU,FRI *
Nathan Given
Contributor
August 4, 2023

Thank you, right now I changed it to this for the next week:

0 15,45 7-18 ? * * *

 I know that that will cause it to run on the weekend, however, right now I need it to be reliable more than I need it to not run on the weekend.

Once I can confirm that the above works for a few weeks, I'll try your suggestion.

And thank you for confirming that my expression should work. I thought I must have been going crazy ( I even confirmed it here: https://www.freeformatter.com/cron-expression-generator-quartz.html )

Like Mark Segall likes this
Bill Sheboy
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.
August 4, 2023

Hi @Nathan Given 

I checked the public backlog and did not see this symptom for scheduled triggers with CRON expressions in rules, but did see others (like firing when there was no data to process). 

You may want work with your site admin to submit a support ticket for this so Atlassian is aware of the problem: https://support.atlassian.com/contact/#/  When you hear back from them, please post what you learn to benefit the community.  Thanks!

Kind regards,
Bill

Like Mark Segall likes this

Suggest an answer

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

Atlassian Community Events