Schedule a bot

Hello experts,
Am trying to form a cronic expression for a bot to run after every 79 days,
The bot needs to run after every 79 days, anyone who can help please or has an idea of how I can archive this.

Hello @Nancy_Niva1

Welcome to UiPath community…!

Please check the below doc to create the crone expressions.

Thanks

If you dont use Orchestrator, then you can try with Windows Task Scheduler. I recommend to read documentation about UiRobot(since you will have to use it to launch scheduled Automation).

Hi @Nancy_Niva1

Welcome to the community

You won’t be able to find a cron expression to run every 79 days. You need to do this logic in the code,

This can be done by saving the last run date of the bot in asset and check it daily to check if difference is 79 and only then run the bot

cheers

Am not understanding what you mean, maybe an illustration please

Hi @Nancy_Niva1,

If you want to set trigger based on days it will be come with under the month.

Thanks,
Rajkumar

Hi @Nancy_Niva1

This so this is how the flow looks. If youa re using ReFramework place this condition in Initilaization and if the condition is false do not proceed to get transaction data



Please find xaml for your reference
ExtractSampleDeathReturns.xaml (10.4 KB)

cheers

Thank you so much, this worked!!!

1 Like

@Nancy_Niva1

Happy Automation

Can you please close it by marking solution so that it helps others as well

cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.