![]() |
|
Technology Computing, programming, science, electronics, telecommunications, etc. |
![]() |
|
Thread Tools | Display Modes |
|
![]() |
#1 |
Gone and done
Join Date: Sep 2001
Posts: 4,808
|
What platform is this web app running on? If it's a version of Linux, you can try daemontools (yes, Bernstein is a bit of an ass), or gin up a one-off perl script to monitor the process id and restart it/email you if it dies.
If it's winblows, I got nuthin'.
__________________
per·son \ˈpər-sən\ (noun) - an ephemeral collection of small, irrational decisions The fun thing about evolution (and science in general) is that it happens whether you believe in it or not. |
![]() |
![]() |
![]() |
#2 |
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 ![]() Thanks, Mitch |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|