RolandGunslinger has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to write a perl script that will exec a command to stop and then restart a service on a remote win32 server if that service is not functioning. I know how to determine if the service isn't functioning, but I don't know how to initiate an rpc call to that remote pc. What's the best way to do this with perl under win32? Thanks in advance.
UPDATE: I was looking for a straight perl solution, I've
played around with IPC::Msg but can't seem to get it to
work on Win2000, don't know if I have something wrong or
if it just isn't win32 compatible. Didn't know if there
were any other "pure perl" options. The llama in me wants
to do it straight perl if I can....
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: best way to rpc on win32?
by monktim (Friar) on Oct 22, 2003 at 17:23 UTC | |
Re: best way to rpc on win32?
by sunadmn (Curate) on Oct 22, 2003 at 17:09 UTC | |
Re: best way to rpc on win32?
by inman (Curate) on Oct 23, 2003 at 12:59 UTC | |
Re: best way to rpc on win32?
by calin (Deacon) on Oct 22, 2003 at 18:06 UTC | |
by RolandGunslinger (Curate) on Oct 22, 2003 at 18:59 UTC |
Back to
Seekers of Perl Wisdom