Schedule a bot
- Updated: 2024/08/07
Schedule a bot
Scheduling an automation or bot enables you to run it at a specific time without any manual intervention.
Prerequisites
- Schedule my bots to run
- Schedule permission at folder level for specific bots and their dependencies
- Access to run-as users (Bot Runners) that you can add to the schedule
Note: Automation will fail in the following cases:
- If any of the automation dependencies are missing.
- If you do not have folder privileges on the dependencies.
- If you do not have the scheduling permissions.
Procedure
The number of times a bot is deployed depends on the run-as users (Bot Runners)
selected for the schedule. Consider the following scenarios:
- The number of run-as users selected is two, and both the users have the bot running device: The bot is deployed twice on the two run-as users and their bot running devices.
- The number of run-as users selected is three, and only one of the users has the bot running device. In this case, you must select the device pool. If the device pool has only two devices, the bot is deployed three times on both the devices in the device pool and also on the bot running device of the third user.
- The number of run-as users selected is three, and none of the three users has the bot running device: In this case, you must select the device pool. If the device pool has only two devices, the bot is deployed twice on both the devices in the device pool, and the third request for bot deployment is queued. The bot is deployed only when a device becomes available in the device pool.
- The number of run-as users selected is two, and none of the two users have the bot running device: In this case, you must select the device pool. If the device pool has four devices, the bot is deployed twice on any available two devices in the device pool.
Note: For schedules without a device pool, when one or more active
run-as user devices are unavailable or disconnected, the bot
deployment fails for all the run-as users in the
schedule.