I want to schedule bot in unattended way and it needs to be run once in a month but the problem is execution time varies every month.There is no standard date & time for every month…
How can we schedule the bot in this case…Please help me in this…
not sure if it’s a match for you but if this is bot is supposed to be running based on some kind of ticket in itsm you can create an integration (providing you have right accesses there) between the ticket and orchestrator - e.g., once business raises a ticket, the itsm sends api call to orchestrator to run the job.
In this type of use case, we can either use API or Queue trigger for this.
API
Client will send a mail to start the bot at a particular time of the month where an API process(we need to create another process) will be triggered every 10 minutes on the particular day of the month, once the mail is received using the orchestrator HTTP request we can start the specified process
If you are getting the file within first week then I would recommend to create a schedule to run the bot on second week end with a cron expression like this
‘’’ ## 0 0 0 ? * 1#2 *
U can create this with Triggers with advanced option on CRON Expression
If you need to schedule a bot to run once a month at a variable time, you can use a cron expression to set up the schedule.
For example, if you want to run the bot once a month at a variable time on the first day of the month, you can use the following cron expression:
0 0 1 * *
If you need to run the bot at a variable time on a specific day of the month, you can add an additional field to the expression to specify the day. For example, if you want to run the bot once a month at a variable time on the 15th day of the month, you can use the following expression: