[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Resetting apache on raq4 daily any way to test it?
- Subject: [cobalt-users] Resetting apache on raq4 daily any way to test it?
- From: Michael <no.spam.please@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu Aug 23 17:59:09 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hello folks!
I have to reset my apache server on my raq4 daily because if it runs too long without a reset, for some strange reason older versions of MSIE will not display SSL pages. When I reset the httpd server, strangly enough, they can see them. I have been resetting it daily by hand and want to add a script in cron.daily BUT sometimes (rare) the reset does not take and the server stays down! When I do it by hand I can test this with the browser, and simply restart it again. With a restart script though, that is not possible since I am not sitting there to see if its up or not.
I made a script in /etc/cron.daily called restarthttpd
#!/bin/sh
/etc/rc.d/init.d/httpd restart
#EOF
Chmod 755 seems to work. OK, now, is there anything I can add to this script that will test to see if it REALLY restarted? And if not, try again?
Thanks guys!
Michael Thiessen