cancel
Showing results for 
Search instead for 
Did you mean: 

Running BP Server and Resource PC at System startup using Windows task scheduler

NitinAlex
Level 3
When Running BP Server and Resource PC, at System startup using Windows task scheduler, Both of them are seen running in the background when looked in the Windows task manager. Is there any way to bring them to the foreground.

Also wanted to get a code to run as batch file in task scheduler that checks if both BP Server and Resource PC are running every few seconds and restart them if closed by accident.

Please help me with the above problems.



Regards,
Nitin Alex
​​​
13 REPLIES 13

Hi Nitin,

Open Start > Run > Paste the below command and run

"C:\Program Files\Blue Prism Limited\Blue Prism Automate\Automate.exe" /resourcepc /public

This will enable the resource PC then you can find it in your system tray.

Method 2 :

Open notepad > Paste the below command

Start C:\"Program Files"\"Blue Prism Limited"\"Blue Prism Automate"\Automate.exe /resourcepc /public

 > save as "anyname.bat" 

> double click on the created batch file will make the resource pc to start.

Thanks,

------------------------------
Gerald J
Automation Engineer
10xds
Kerala/Kochi
+91-9159842805
------------------------------

Try adding a startup delay of 1 min in Task Scheduler trigger, that should make the icon visible.

------------------------------
Gopal Bhaire
Analyst
Accenture
------------------------------

MaxElopre
Level 5
Hi Nitin,

Aside from Automate.exe, there is another command called AutomateC.exe.  Just add /help as there is a lot of switches available for use. 

To check whether a process has started, you can use one of the script suggested in these links:
https://stackoverflow.com/questions/162291/how-to-check-if-a-process-is-running-via-a-batch-script
https://stackoverflow.com/questions/15449034/batch-program-to-to-check-if-process-exists

Best,
Max

------------------------------
Max Elopre
------------------------------

Hi @GopalBhaire , it worked! for both Resource pc as well as BP Server! Now at system startup after a delay of specified time both appears in the foreground.
What's the magic here? 

Regards,
Nitin Alex ​​

------------------------------
Nitin Alex
------------------------------