How to start bot from Task Schedular

I found a working method. Which is working in new UiPath Studio ( Tested in UiPath 2020.3.0 )

Make a new text file… give its a name anyname.bat

"C:\Users\VIR TEJA\AppData\Local\UiPath\app-20.3.0-beta0084\UiRobot.exe" -file "C:\Users\VIR TEJA\Documents\UiPath\Update websites\Main.xaml" -i "{}"

Write above code in single line without anyline break. There is 2 path in given above code. One path is of robots. And 2nd path is of xaml file. Plz modify them.

You can also use this component. Its also helpful

@Tech_Guru I tried this bat file method but click on image is not working. Do you know how to perform image click with this bat file method.