How to Automate My Project without using Orchestrator

Hello,

I need to automate my project without using Orchestrator. Because my lisense is community edition. How to start my applicarion in every day without human touch? According to my search, There are two ways to trigger UiPath robot.exe and .xaml file as task scheduler or nssm (non-sucking service manager). Task scheduler doesnt trigger robot.exe so the automation can not start properly. nssm is working python script but facing some problems. By the way, my python script runs efficiently when I execute it manually. How can I solve this problem ?

Locate UiRobot.exe and for community edition, it’s typically located at:
C:\Users\<your-username>\AppData\Local\Programs\UiPath\Studio\UiRobot.exe
Or run this in Command Prompt to find it:
where UiRobot.exe then create a .bat file to run your .xaml or .nupkg via the project path:
"C:\Users\<your-username>\AppData\Local\Programs\UiPath\Studio\UiRobot.exe" run --file "C:\Path\To\Main.xaml" then test the .bat manually — make sure it starts the automation.

Cheers

Or if you want to use nssm then configure this: set nssm to run under your Windows user account, not “Local System” and ensure full paths in your Python script and if your script launches UiRobot.exe, do it like this:

import subprocess

subprocess.run([
r"C:\Users<your-user>\AppData\Local\Programs\UiPath\Studio\UiRobot.exe",
“run”,
“–file”,
r"C:\Path\To\Main.xaml"
])

and log all output to a file using:

with open(“log.txt”, “w”) as f:
subprocess.run([…], stdout=f, stderr=f)

Hi,

The following document will help you.

First, publish your project to local or Orchestrator and download nupkg file.
Then, use UiRobot.exe as the following.

UiRobot.exe execute --file yourAutomation1.0.1.nupkg

note: UiRobot.exe exists under the following folder in Community edition.

C:\Users\[AccountName]\AppData\Local\Programs\UiPath\Studio

Regards,

@t.sen before you start I hope you are aware of the Software license policy which insists on having valid license to use the software for commercial/non commercial use.

@t.sen

Welcome to the community

  1. As per license you should not be using community for commercial
  2. Starting from task scheduler is disabled in latest
  3. If you are on community by default you wont have unattended and attended are triggered by user by default. if not you can setup triggers as well like when a new file created or so

cheers