Need help on cron expression for schedule

Hi Team,

there is request bot run should start from third sunday of the quarter ,stop on last of the day of the quarter. could you please help me to create cron expression.

Regards,
Rajasekhar

Hi @dlmsekhar

Please try with below expression
0 0 12 ? 1/3 0#3 *

its says invalid cron expression syntax

@dlmsekhar
0 0 12 ? 1/3 1#3 *
This should work

1 Like

this is for - At 12:00 PM, on the third Sunday of the month, every 3 months
but need bot should run from third sunday to last but one of the quarter
ex : 15 jan 2023 to 30 mar 2023

any leads please

Hi @dlmsekhar,
Cron Expression 0 0 12 ? 1/3 1#3 * will run for every 3 months pls see the below screenshots

Do you like to run what time of the day ? on daily or single time ?
because Orchestrator is having max limit stop after 11 days of continuous run
image

Regards,
Arivu

1 Like

Hi @arivu96
He needs to run daily from 15 Jan to 30 march.How can we achieve it ?.It is not possible to do it in single cron expression

0 0 12 15-30 1/3 ? *

can’t make all as dynamic in cron expression, may be need to handle in different schedule

Regards,
Arivu

2 Likes

ok, how to schedule a bot starting from 3rd monday to last working day of the month

Did you try e.g. this?

But as written above your requirement is unlikely to achieve in single cron expression.

Cheers

Yes, no luck