*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
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
“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]
Select UiPathDemo.bat => Click [Open]
Now we have already created Task Scheduler for running “UiPathDemo.bat” name “UipathDemo”
Select UipathDemo => Click [Run]
You’ve got it !
This is really interesting…
Does it work in community edition? its not working in my community edition. i followed the same steps
Hi, i was able to “run” the bat.file using community edition and windows task scheduler but the workflow in UiPath did not execute. Could anyone advise me further?
Can you run on UiPath Studio?
If you can , then publish and copy new package paste to bat file
and re-run windows task schedule again
Hi, it is still not working. The bat is being invoked but the task in task scheduler is running but UiPath package did not execute. Is setting a reminder via UiPath.Agent (previously called UiPath Robot) an alternative? Thanks
Hi. I have the same issue. Any solution?
You must use UiRobot only
I do this Task Scheduler in this movie from exact time from the link:
Remember to mark the solution so that others can find it more easily
Thank you for your mention
When robot works complete, the cmd will be gone.
Maybe there is any error in process.
You can write log message in exception block or see the execution log.
Also, if the robot starts without a user session from schedule, user interface is not rendered. So, Ui activities would not work)
HI Joy thankyou for taking out time. Can you please help me what do you mean by UI Robot ?
Can i use this on StudioX Community?
Hi, I followed your steps, it works somehow, however, the logs on the UiPath is not showing on UiPath execution logs?, how is that?