Forums

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

Schedule a reoccuring task, starting from a certain date

Quinn Campbell December 19, 2023

I've figured out the automations for scheduled tasks, and theres a ton of options for what day of the week, frequency etc, but I dont see anyway to do a delayed start date? 

 

What I mean by that is say I want something to happen every 6 months, starting in May/oct/may/oct, and its currently December. If I program the rule now it will be Jan/June/Jan/June. So how do I program the rule for may in December? 

 

Thanks!

1 answer

1 accepted

1 vote
Answer accepted
Fernando Eugênio da Silva
Community Champion
December 19, 2023

@Quinn Campbell 

You can use some websites to help you with your Cron expression. This websites helps to better understanding about what values we need to use to have our Cron expression.

According your description, I believe this expression can be useful for you:

0 0 9 ? MAY,OCT MON#1 *

(At 09:00 AM, on the first Monday of the month, only in May and October)

 

Here some websites that may help you with another cron expressions:

https://www.freeformatter.com/cron-expression-generator-quartz.html

http://www.cronmaker.com/

Hope this help you :)

Quinn Campbell December 26, 2023

thanks so much, hadnt heard of a cron expression before, but is straight forward.

Suggest an answer

Log in or Sign up to answer