Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
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
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
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.