Bat file for windows task scheduler is not working

@Swagat1

Could you please show me new file path you wrote in bat file.

1 Like

And one more windows scheduler is not supported by uipath and so try with orchestrator schedule option to run the process at specific time
Cheers @Swagat1

1 Like

C:\Users\example\AppData\Local\UiPath\app- 19.9.2 \UiRobot.exe” /file:“D:\Boarding\example\Main.xaml” /input:"{‘StartedByTaskScheduler’:true}"

This is the file path.

Hi @Palaniyappan,
Windows scheduler is not supported by UiPath?

1 Like

Yes the version is totally correct. @Palaniyappan

Yah
For more details

Cheers @Swagat1

1 Like

@Swagat1

I guess you are using Uipath 2019.10.0 version. Go to Help section and check uipath version in Uipath studio.

If you have Orchestrator then schedule BOTS using Orchestrator and with this we have many advantages.

We can schedule our BOTS using windows scheduler but if we face any issues then Uipath won’t give any support and we have to resolve it ourself only.

1 Like

Okay Thanks @Palaniyappan

1 Like

Okay thanks @lakshman

1 Like

Hi @Palaniyappan this post is in 2017 but my bat file stops working after the update any other suggestion for the same.

Hi @lakshman I did the same but its not working, any suggestion.

It applies for current version as well
since 2017 till present version
Cheers @Swagat1

Hi @Swagat1

I faced the same issue after my studio is updated to 2019.9.2 but normal restarting your system will resolve the issue.

Hi @Karun yes i restarted it but getting the same error. In your end you just restarted and it is working?

yes @Swagat1, only restart i did and one more thing this is the second time i’m facing this issue after update

Okay @Karun, if you will get any solution about this please let me know.

1 Like

@Swagat1
start “” /min “C:\Users\User\AppData\Local\UiPath\app-19.9.2\UiRobot.exe” -file “C:\Users\User\Desktop\OpenPortal\Main.xaml”

This is the path in my bat file, once try it in this way(-file “path”)

@Karun Thanks its works for me.

But this is a normal way of running a xaml from a bat file and it didnt have the window task scheduler involved as asked in the query

so were we trying to run the xaml just from command prompt with a bat file
or are we trying to run that xaml in a scheduled way…

it its just a normal way to trigger with a bat file then the syntax suggested by @Karun is fine
but if we need to schedule we need to use schedule option in the orchestrator

Cheers @Swagat1

1 Like

You can see this