Forums

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

Using CRON expression for Weekdays Every 60 min

Jeffrey Bistrong
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.
September 21, 2020

Trying to use a CRON expression in automation for jira to run every 60 minutes (only M-F), but it is not accepting the cron I made from the below website

https://crontab.guru/examples.html

https://crontab.guru/#0_*_*_*_1-5

 

 

Based on my readings here: https://support.atlassian.com/jira-software-cloud/docs/construct-cron-expressions-for-a-filter-subscription/

I tried adjusting to the below, but none of these are being accepted 

0 0 * * ? 2-6

0 0 * * * 2-6

0 0 * * ? Mon-Fri

 

Automation rules - JIRA 2020-09-21 12-16-45.png

 

 

1 answer

1 accepted

0 votes
Answer accepted
Joshua Sneed Contegix
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.
September 21, 2020

Hi Jeffery,

I'm not super strong with CRON expressions, so check this before implementing. I think the following will work:

  • 0 0 * ? * MON,TUE,WED,THU,FRI *

Cheers!

Jeffrey Bistrong
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.
September 21, 2020

Thanks!

Suggest an answer

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

Atlassian Community Events