You could create a cron job that runs a script every ten minutes or so which does something like:
[tt]if ps -e | grep appname > /dev/null
then
continue
else
mailx -s "The application is down!" nullvoid@nowhere.not << HERE
Some message body text here.
HERE
fi[/tt] Annihilannic.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.