cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

schedule restart

WT_10437065
4-Participant

schedule restart

I'm trying to get Thingworx to issue a schedule to restart a client PC. Is this possible either through the client or as a Javascript set of commands?

Thanks

5 REPLIES 5

It is possible, but you need to have an agent deployed on the remote client, or, if it's linux, you can issue a restart through SSH (and for SSH you need an extension)

Yes, we have the clients installed. I just have to discover this method. Any hints, lol?

Wayne

you write a script that sends the ssh command for restart

 

Depending of the kind of ssh authorization you might need to specify username / password or keys here

 

Example commands for restart

Windows: shutdown -r

Linux: sudo reboot

 

 


Best regards

Nicolas

This is most certainly not a solution to a SCHEDULED restart. that is simply just a restart.

If you want something scheduled use a timer and call the service this way.


Best regards

Nicolas
Top Tags