HiI want/need to be able to restart a windows service from a linux box and i'm thinking about perhaps trying to use expect. I would imagine that i could test the service and then in the event of failure telnet in and issue a 'service foo restart' command.
Is this possible or am i looking at the wrong way to try to achieve this? thanks