The Cellar  

Go Back   The Cellar > Main > Technology
FAQ Community Calendar Today's Posts Search

Technology Computing, programming, science, electronics, telecommunications, etc.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-28-2007, 04:58 PM   #4
mbpark
Lecturer
 
Join Date: Jan 2001
Location: Carmel, Indiana
Posts: 761
Here's a suggestion....

If this is a Windows box, you can easily download wget and write a small script to parse the output from that command in perl or python.

Run the script as a scheduled job every 5 minutes.

If the app is down, run an "iisreset" command.

If it's Linux/UNIX, you may need to download wget (esp. if you run HP-UX or Solaris), and then write a small script that checks the error status, and if it fails, run an "apachectl restart" or whatever command your webserver needs to restart.

That should help you out . There's even VbScript to do this on the Internet if you look closely enough.

Thanks,

Mitch
mbpark is offline   Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 10:41 PM.


Powered by: vBulletin Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.