https://github.com/michaelconan/uipath-localscheduler
UiPath bot to schedule execution of local or attended automation using Windows task scheduler
https://github.com/michaelconan/uipath-localscheduler
uipath
Last synced: 2 months ago
JSON representation
UiPath bot to schedule execution of local or attended automation using Windows task scheduler
- Host: GitHub
- URL: https://github.com/michaelconan/uipath-localscheduler
- Owner: michaelconan
- Created: 2023-08-22T16:02:52.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-12T14:47:39.000Z (over 1 year ago)
- Last Synced: 2025-01-19T19:53:39.509Z (over 1 year ago)
- Topics: uipath
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Automatic Bot Scheduling
Creates scheduled task to invoke bot with Task Scheduler using the [UiRobot command line interface](https://docs.uipath.com/robot/docs/robot-command-line-interface).
Version update functionality assumes that UiPath Orchestrator packages follow a specific structure:
- Each automation project has a JSON-formatted `automation.info` file in the root project folder
- `.info` file format:
```
{
"guid": "",
"name": "",
"version": "",
"environment": "",
"main_workflow": "Main.xaml"
}
```
- Orchestrator packages are named using the GUID mentioned above, optionally with a version suffix (e.g., -v<#>) if an entirely new package is loaded for a process
UiRobot Command: `UiRobot.exe execute [--process | --file ] [--folder ] [--input ]`
Supports the following actions:
1. Schedule Orchestrator bot (via Robot Runner)
2. Schedule local bot (by selecting project.json file)
3. Updating Orchestrator bots to the latest version
4. Importing scheduled task from XML file (generated from process)
5. Adding input arguments to options 1 or 2
Scheduling actions perform the following (using [schtasks](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/schtasks)):
- Creates a schedule task in Microsoft task scheduler
- Exports a `.xml` file of the scheduled task to be imported or shared
- Generates a `.bat` (windows batch) file to execute the bot via script directly