This is the cron expression if i want to run a robot every first working day of the month “0 0 0 1W * ?”
Any idea on the opposite case where i need a cron expression to run all other working days except the first working day of the month.
This is the cron expression if i want to run a robot every first working day of the month “0 0 0 1W * ?”
Any idea on the opposite case where i need a cron expression to run all other working days except the first working day of the month.
Hi @JITU99
Run the bot every working day on 9AM using this expression–> 0 9 * * 1-5
In you code write a condition to check if the current day is 1st working day or not. If it is then run your flow else skip the flow.
Thanks for the response but i solely want to depend on cron expression for this instead of adding logic in workflow.
HI @JITU99
Unfortunately, cron expressions by themselves cannot handle complex logic like excluding the first working day of the month directly. However, you can create a solution that involves a cron job and a logic in the code.
Regards
Hi @JITU99
As of my knowledge,There is no direct cron expression to achieve your requirement.
Hope it helps!!
this is not within the concept of cron. Feel free to explore it more by playing with an online tool like:
Thanks all for the responses
Much Appreciated ![]()