cancel
Showing results for 
Search instead for 
Did you mean: 

Restart the Resource PC instead of Log out using Login Agent

HarishM2
Level 6
Hi all,

We are facing some issue when we use log out after completion of main Process. Issue is Resource PC connection getting lost some time in the morning which is not happening in the afternoon run ..So instead of log out we want to restart  the machine is there any  way, we can  restart the machine every time when  Bot complete  the process.?(I didn't see any default action - action for restarting the process)
What are the Pros and cons of Restarting the Resource PC after completion of main Process?

------------------------------
-----
12 REPLIES 12

@Hakan Engman - Kindly suggest if the command  ​http://<resouce.name.com>:8180/status work with SSO as well and we wont need to provide any credentials to access different machine? Also to make use of this command from process running on BP machine 1 to query resource on machine 2, how will we implement the same?

------------------------------
Mayank Goyal
------------------------------

Hi, this was a while ago. 🙂 

The http "query" will go into a browser or a powershell command Invoke-WebRequest or similar. I'm guessing here, but it feels like you mix it up with AutomateC.exe where /sso is probably all fine. 

Br,Håkan



------------------------------
Hakan Engman
Automation engineer
Teliacompany.com
Europe/Stockholm
------------------------------

@Hakan Engman - Thanks a lot for your response. I tried the command "http://machinename:8181/status ​", however it gives me user not set message on browser. Kindly suggest if we have to use something else with this command. Also to run a powershell command from window, kindly suggest if there is a standard action?

------------------------------
Mayank Goyal
------------------------------