Cron Expression For every 45 days

I wanted to schedule a bot every 45 days in the morning 8 AM.
Urgent Help needed…

1 Like

Hi @divyanshu.innowise,
Cron Expressions are working on minutes, hours, days weeks etc. 45 days does not divide nicely into these. Here you can check similar thread:

1 Like

You could use a trigger with a cron expression for a specific month/day. Then with each execution have the robot calculate the next desired execution and utilize the Orchestrator API to update the trigger with the appropriate cron expression. Check out the documentation at the swagger location below for info on how to update it.

/swagger/ui/index#!/ProcessSchedules/ProcessSchedules_PutById

Just put that at the end of your Orchestrator URL.

1 Like

Use 2 schedule jobs of 3 months with 45 days offset