*This post is my experiment
How to run UiRobot by Windows Task Scheduler—Joy.pdf (1.1 MB) How to run UiRobot by Windows Task Scheduler
- Run UiPath Robot that you want to run with Windows Task Scheduler, click [Debug File]
*This is UiRobot result
-
Click “Publish”
-
Define Package Name [Name], check [Robot Defaults] then Click [Publish] button
-
This information is belong to published UiPath Robot that we will use in bat’s script (5.1)
-
Open NotePad.exe and type these to NotePad
“C:\Users<your username>\AppData\Local\UiPath<uipath version>\UiRobot.exe” -file “<Name>..nupkg” -
Location, 2. Name and 3. Version from UiRobot Info
Example
“C:\Users\lukkana\AppData\Local\UiPath\app-20.2.0-beta0108\UiRobot.exe” -file “C:\ProgramData\UiPath\Packages\UiPathDemo.1.0.1.nupkg”
-
Click [File] => [Save As] => [File Name] : UiPathDemo.bat (Any name), [File Type] : All Files (.) and
[Encoding] : ANSI , => Click [Save] -
Now we have UiPathDemo.bat for using with Task Scheduler
-
Open Task Scheduler.exe => Click [Create Task…]
-
[Create Task] Tab [General] => set task name [Name] : UipathDemo (Any name)
-
[Create Task] Tab [Action] => Click [New]
Click [Browse]
Select UiPathDemo.bat => Click [Open]
Click [OK]
Click [OK]
-
Now we have already created Task Scheduler for running “UiPathDemo.bat” name “UipathDemo”
-
Select UipathDemo => Click [Run]
-
You’ve got it !