Re: [Zope] Using crontab instead of rc.d

2000-08-24 Thread Stephan Goeldi
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

Re: [Zope] Using crontab instead of rc.d

2000-08-24 Thread Dominic Mitchell
On Thu, Aug 24, 2000 at 09:46:11AM +, 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

Re: [Zope] Using crontab instead of rc.d

2000-08-24 Thread Curtis Maloney
On Thu, 24 Aug 2000, Dominic Mitchell wrote: On Thu, Aug 24, 2000 at 09:46:11AM +, 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

Re: [Zope] Using crontab instead of rc.d

2000-08-23 Thread Dominic Mitchell
On Thu, Aug 24, 2000 at 04:05:11AM +1000, George Osvald wrote: Hello everyone! My ISP where I have my web page, is running freeBSD 4.0. I do not know a lot about it. I know how to use crontab to start ZOPE at certain time how ever how do I use crontab to check on the script that is already

Re: [Zope] Using crontab instead of rc.d

2000-08-23 Thread Adam Karpierz
Is this setup at all possible? Regards, George Osvald Hi George It's my working solution (Linux RH): crontab command - 0,30 * * * * /home/adares/.start setup file: /home/adares/.start -- #! /bin/sh ZOPEDIR="/home/adares/Zope"

Re: [Zope] Using crontab instead of rc.d

2000-08-23 Thread KIMMELL
Hello, Here's something I put together. I am pretty much clueless when it comes to bash shell programming, so this may be a really bad way to do things. I would think you could run this script from your crontab. I tried this on Redhat 6.2 , so YMMV. -garrin -- begin script -- #!/bin/bash

Re: [Zope] Using crontab instead of rc.d

2000-08-23 Thread Robert Miller
On Wed, 23 Aug 2000, George Osvald wrote: My ISP where I have my web page, is running freeBSD 4.0. I do not know a lot about it. I know how to use crontab to start ZOPE at certain time how ever how do I use crontab to check on the script that is already running? Starting ZOPE again when it's