Hi Team,
Wanted to schedule bot every frst of the month
that is 01-04-2022
and if 01-04-2022 is a holiday need to run on 02-04-2022
How to I handle this
Thanks and Regards,
Supriya Yenaganti
Hi Team,
Wanted to schedule bot every frst of the month
that is 01-04-2022
and if 01-04-2022 is a holiday need to run on 02-04-2022
How to I handle this
Thanks and Regards,
Supriya Yenaganti
Hi @supu123
In CRON expression with advanced option in TRIGGERS
We can use this expression
0 0 0 ? 1/1 *
Which will run at first day of every month
Thanks
Hi @supu123
We can use below cron expression to run the job on first day of every month and assign the non-working day restriction calendar in which holidays fall on first day of month were added.
CRON Expression for 1st day of month : 0 0 0 1 * ?
Then add the below cron expression for the months having first day of month as holiday. For example , if 01-04-2022 is a holiday then add below cron expression for the second schedule
CRON Expression for 2nd day of month : 0 0 0 2 APR ?