Schedule the workflow

Hi team,

I want to schedule my workflow, using task manager on windows so how should i do it?
Can anyone please help me out?

Hello @Aishwarya_Bhargava

It depends on the license you are using and the premise you are in.

You can do that by creating a ‘command script to run the workflow’ and then using windows task scheduler to ;schedule the script;.

But for some license type it is actually considered as a EULA breach and many organization consider this as a threat to security.

Can you confirm on your license type and also whether you are just trying or want to use in your organization?

Hope the information was clear.

1 Like

Hi @Aishwarya_Bhargava

You can check this post might help you.

Run robot using Windows Task Scheduler without using Orchestrator


You have to create batch file for this in which you have to mention your bot name and process name and schedule this batch file into task manager. License doesn’t matter it will work in community edition as well.

Create batch file , You can add below lines update bot location below lines and save as .bat will then schedule this file in task scheduler.

start “” /min “C:\Program Files (x86)\UiPath Platform\UiRobot.exe” /file:“C:\Users\ghazanfar\Documents\UiPath\EmailAttachmetsDownloader\Main.xaml” /input:“{‘StartedByTaskScheduler’ :true}”

I want to schedule it for my organization only (453.6 KB)
okay, then if your organization allows then you can schedule it

I think people have replied with the steps already but attached is the zip with a demo including all steps.

Again, it is up to you and your organization to allow such scheduling of UiPath Run Script.

Have a good time automating!

its not starting the workflow

its not working

start “” /min “C:\Program Files (x86)\UiPath Platform\UiRobot.exe” /file:“C:\Users\ghazanfar\Documents\UiPath\EmailAttachmetsDownloader\Main.xaml” /input:“{‘StartedByTaskScheduler’ :true}”

Copy above code and create bat file ok. when you click on bat file it will run the bot.

{‘StartedByTaskScheduler’ :true}" if it is not working just validate your bot path and uipath xaml file path. it will work.

I copied the code and changed the two paths, and the cmd prompt just opened for a sec and the got closed without executing the bot

start “” /min “C:\Users\abhargava\AppData\Local\UiPath\app-20.4.3\UiRobot.exe” /file:“D:\RPA for Birthdays - Schedule testing\Main.xaml” /input:“{‘StartedByTaskScheduler’:true}”

may be you are missing commas or double quotes…I am attaching file change the extension to .bat and manual first check your bot path.Batch.txt (189 Bytes)

can you send a demo clip of you executing the bat file?

do you have skype? You can share your screen there i will fix your issue

I used the same steps and it worked for me. You can share the error

it worked, thankyou :slight_smile:

1 Like

Good to know that.

other than using UiRobot application is there any other way?

I think, if you want to schedule an UiPath workflow then you will have to use UiPath application only.

i want to schedule the workflow on my clients system without sharing my workflow, so how can i do it?