Re: restart windows service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2006-07-10 at 14:24 +0100, Tom Brown wrote:
> Hi
> 
> I 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?
----
depends upon version of samba and whether systems are joined to domain,
etc.

net rpc shutdown SERVER-NAME [-r] [-U USER-NAME]

Craig


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux