Miles Beck wrote: > > Hello, > > I am in need of a script to check that apache-ssl is still running (and if > not, email myself and my partner so we can re-start it) until we can figure > out why it is crashing. > > Is there something out there already that will do this? > > Or does someone have a script written already that can do the job? > > Thanks, > > -Miles > > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > To subscribe, unsubscribe, or to change you mail settings: > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss I enhance the script to provide a positive report each time it checks the site. You can find the new version here: . Sample run as I shut off my test web server: 2003-01-19 18:35:58: http://www.georgetoft.test/index.shtml - success. 2003-01-19 18:36:08: http://www.georgetoft.test/index.shtml - success. 2003-01-19 18:36:18: http://www.georgetoft.test/index.shtml - success. 2003-01-19 18:36:28: http://www.georgetoft.test/index.shtml - success. Looking up www.georgetoft.test www.georgetoft.test Making HTTP connection to www.georgetoft.test Alert!: Unable to connect to remote host. lynx: Can't access startfile http://www.georgetoft.test/index.shtml 2003-01-19 18:36:38: http://www.georgetoft.test/index.shtml FAILED!!! Message sent to 9045713626@mobile.att.net george@georgetoft.com. 2003-01-19 18:37:50: http://www.georgetoft.test/index.shtml - success. 2003-01-19 18:38:00: http://www.georgetoft.test/index.shtml - success. 2003-01-19 18:38:10: http://www.georgetoft.test/index.shtml - success. George -- This e-mail message certified virus-free as it was generated on a Linux system. http://www.georgetoft.com/linux/index.shtml