Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Remotely Start/Stop Services

by nikosv (Chaplain)
on Feb 02, 2013 at 12:24 UTC ( #1016705=note: print w/replies, xml ) Need Help??

in reply to Remotely Start/Stop Services

I bet that at some point you have controlled,configured,start,stopped, a network printer through a web interface. So why not use the same concept on your remote machine?

You could set up a http server which would be accessed only by machines in the local network ( no need for Apache there are other more simple to set up ones) and then either set a web form or a web service more likely, that through it you could start and stop the remote service.

Alternatively, you could Connect to WMI on a Remote Computer and use its Win32_Service class to control your service. A good example can be found Using WMI to manipulate services (Install, Uninstall, Start, Pause etc…)

But you have to go through many hoops like configuring DCOM, permissions,firewalls etc

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016705]
[Corion]: marto: Oh ;) Well, I think you did right - more time, even if not spent with the kids directly, is still more time for you.
[Discipulus]: good morning monks! town holiday here.. but super busy
Discipulus time is not comarable with money.. when you have a roof and something to eat
[Corion]: Hi Discipulus! Busy making the town better? ;)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2017-06-29 08:34 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (655 votes). Check out past polls.