Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2000 04:07:02 +1000
From:      "George Osvald" <mail@okstudio.com.au>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   crontab
Message-ID:  <000001c00c63$c5f77b40$99f438cb@gosvald>

next in thread | raw e-mail | index | archive | help
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 a script at certain time how
ever how do I use crontab to check on the script that is already running? I
have a long running script and restarting it when it is already running
doesn't make sense. That only produces a error message.

to start it I would be using something like:

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. Can anyone help?

Regards,

George Osvald




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c00c63$c5f77b40$99f438cb>