Scheduling a back office robot using task scheduler

uiautomation
robot

#1

Hello,

I have installed a back office robot on one of my VDI for production. Due to cost issues we have not purchased an orchestrator so is it still possible to schedule a back office robot using a task scheduler?
Please suggest if there is any way to schedule a back office robot without an orchestrator


Orchestrator&robot
#2

Hi,
It’s kind of violation of T&C .:stuck_out_tongue:
Did you check this


Scheduler for one robot
#3

?i am talking about back office robot…please call me


#4

i have tried this…it does not work


#5

BOR only trigger/schedule/monitored from Orchestrator.


#6

the first line of the link says that they do not support this feature anymore


#7

**

Note: This feature is no longer supported. We recommend using UiPath Orchestrator to schedule all your automation projects.

**


#8

so this concludes scheduling => orchestrator. be it a process or a BOT ? correct ?


#9

From orchestrator, you can schedule a process to be executed by an Unattended robot at certain triggers(daily, weekly etc)


#10

The question is can i schedule a Back office robot using task scheduler?


#11

You can try with the link @ddpadil provided, but it’s not a guarantee that it still works since UiPath no longer supports this feature.
Or you can test with Orchestrator Community Edition and see if it better fits your needs: https://platform.uipath.com/


#12

When i tried to schedule the process through task scheduler then it opens my xaml file but it is not able to exceute the same


#13

Hi @mudit,

Please try to follow the steps below:

  1. Create a .bat file like the one attached and set the parameters if necessary inside it
  2. Create a shortcut by using the Run feature inside windows
  3. Schedule it in Task Scheduler to execute this shortcut at certain moments and start your robot

Both .bat file and the Run shortcut should be at the same folder of the robot.

Run.zip (271 Bytes)

image

Copy it to your folder and change its properties like:

In task scheduler, just call it:
image


Is using Orchestrator the only way to have an external trigger start a workflow?
How to schedule the robot by using task schedular
Start a workflow from the command prompt as a front Office robot
How to run UIPath program using windows scheduler?
Start a workflow from the command prompt as a front Office robot
How to create a file.bat
Start a workflow from the command prompt as a front Office robot
#14

:clap::clap::clap::clap::clap::clap:: :+1::+1::+1::+1::+1:


#15

@acaciomelo The attached zip file shows up empty when extracted. Is there anyway you could send the sample .bat file to me?


#16

Hi @atevis,

This is the content inside the .bat file.

start “” /min “C:\Program Files (x86)\UiPath Studio\UiRobot.exe” /file:"%~dp0Main.xaml" /input:"{‘StartedByTaskScheduler’:true}"


Program the execution of the robot uipath
#17

Great, thanks! So for a BOR or even a FOR, you have it run the xaml file, not the nupkg file?


#18

The problem is the task scheduler is able to run the process when a user is logged in but it is not able to do the same when the user is not logged in. I have changed all the settings as required but it is still not working


#19

Hi, please check this Start from command line

You have to use options /executor and /monitored with UiPath 2016.x

With UiPath 2017.x you have to use option --monitor. Here’s an example .bat file content.
START “” “C:\Program Files (x86)\UiPath Platform\UiRobot.exe” -file “C:\Users\User\Documents\UiPath\Project\Main.xaml” --monitor

You can also use this command directly in Task Scheduler without a .bat file. Just configure the schedule as Start a program, give the path to UiRobot.exe and arguments exactly as they are in the example above.


#20

did not get your point.
here what i have done