app or script to restart service if website crashes

They have: 1 posts

Joined: Feb 2010

Hi All,
I'm looking for a small application / script that will monitor a website running on a local server. If the site becomes uncontactable, even though the web service may still be running I want the app to pickup that the site isnt contactable and automatically restart a service.
I'm looking to run this on a windows server.
Not sure if there is something already out there which will do what i need.
does anyone have any ideas?

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

I think IIS is able to recycle the worker process after a set period of time.

Might this do what you are looking for?

casius's picture

They have: 12 posts

Joined: Apr 2010

Well if you use Linux there some good applications to monitor service and re-run them if failed. Nagios is the most advanced one.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.