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!
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
Hope this help you :)
thanks so much, hadnt heard of a cron expression before, but is straight forward.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.