24 Aug
2000
24 Aug
'00
10:16 a.m.
On Thu, Aug 24, 2000 at 09:46:11AM +0000, Stephan Goeldi wrote:
5 * * * * root ./start
This would start the script every five minutes. Now how do I check if the script is running after it's been started and if it wasn't to restart it again.
Why don't you write a shell script which
1. starts the ./stop script, and 2. starts the ./start script
every 5 minutes? So you don't have to check if Zope runs. It's like a restart.
That would be very intensive on the server. Imagine if your office file server was set to reboot every 5 minutes, "just in case". It's far better to just check if it's dead and only then restart it. -Dom