writing a continuous checking script.

From: DukeNM (tridentadm_at_softhome.net)
Date: 09/14/04


Date: 14 Sep 2004 07:07:35 -0700

Does anyone know how to create a script/crotnab entry whereby i can
start a service/script at a specific time and then check if it is
running after every 2 mins.

for. eg.

i have a dial-up script
it should start at 9am
stop at 6pm
but inbetween after every 2mins a check should be performed to see if
it is running, else start it.
also this check should be performed only between 9am till 6pm