Good morning,
I need to configure a start timer Every day at 12.00 from 28th of current month until 2nd working day following month.
In timer condition based on Cycle , in Monthly Tab we have Day " " of every " " month , but there is no End Date where I could configure 2nd day of the next month . How Can I achieve this through a script for example , or is there any suggestion for achieving that ?
regards.
Hi,
for the first part of your condition (every day at 12 from the 28th) you can use this cron epression: 0 0 12 28/1 * ? *
You may use online tools to help you with cron expression.
However I don’t think if it is possible to express the second part in cron (until 2nd working day following month).
But you can maybe use several start timer to make a composition that will work in your use case.
By example: 0 0 12 1W * ? *
is At 12:00:00pm, on the nearest weekday to the 1st of the month, every month
So using 2 start timer with those condition might start to cover your use case (not exactly thought, as you cannot express the 2nd weekday).
Consecutive start timers could work as expected ? I dunno what is the result of a two consecutive timers ? As this is the first time I work with start timers with such a complicated condition .
What does on the nearest weekday to the 1st of the month mean ?
weekday includes monday,tuesday,wednesday,thursday and friday (that is closest to working day I guess ?)
There is Next executions dates
feature on this website that might help you.
heey , when I try to run the process on 29th of the month with an event timer starting from 28 until the end of the month (" 0 0 12 28,31 * ? * ") , its not starting a new Case , I think it's only taking consideration of the 28th of the current month. , is there something wrong with my cron expression?
regards