Forums

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

Automation for Jira - Scheduled Fixed Rate question

Rosa M Fossi
Contributor
October 8, 2018

Hello All,

I haven't been able to find the specific answer to this question....  For "Scheduled - Fixed rate of every __ days" trigger, when does the counter start?  

Currently, I have the below setup...  and I first ran it October 4th 2018.    Does that mean it will run again Jan 4th (or whatever 90 days from 10/04 is). Or will it run again 90 days from when I last updated the configuration (today)?

 

automation trigger scheduled fixed rate.png

 

Audit Log:


automation scheduled fixed rate audit.png

1 answer

0 votes
Rosa M Fossi
Contributor
October 8, 2018

Hmm~ same question applies if I use a cron expression. What if I change the expression and save/publish the automation?

0 4 26 */3 *

At 04:00 on day-of-month 26 in every 3rd month.

In this case, the next run would be Oct 26th.... BUT would it reset if on Nov 1st I changed the time to 05:00 for whatever reason, and create a ticket Nov 26th? 

Deleted user October 9, 2018

Hey there Rosa,

The "Every 90 days" will be based on 90 days since the last run (and if it never ran, when the rule was created). So if you manually run the rule, it'll be another 90 days until the rule will run.

On the Cron side, the cron expression will determine the next run date that's in the future. Updating the rule shouldn't have a "resetting" effect (unless the date you've changed it to changes the next run time to be before the current time). You can use something like https://www.freeformatter.com/cron-expression-generator-quartz.html to get more details on the cron expression.

Cheers,

Mark C

Rosa M Fossi
Contributor
October 10, 2018

Thanks for the insight Mark. 

If you repost as your own comment in lieu of a reply, I'll mask as accepted answer :)  (If I mark this one, it will give me credit instead)

Suggest an answer

Log in or Sign up to answer