Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I restart a WebService automatically?

Status
Not open for further replies.

RotorTorque

Programmer
Apr 29, 2007
100
US
Hi all,
I have a web service that stops running every now and then. I need to write a script that will start it automatically when this happens. How can I accomplish this?

Thanks in advance,
RotorTorque :)
 
I would not do it this way. I would edit the service parameters so that it auto-restarts itself if it stops. So in other words, if the service fails it will auto-start back up. I think this can be done in Windows, but I know it can be done in firedaemon.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top