[plug] setting up redail rules
david.buddrige at mitswa.com.au
david.buddrige at mitswa.com.au
Thu Apr 8 18:04:06 WST 1999
ok, as I understand it there is a utility related to cron which allows u to
perform a given command (once off) at a specified time in the future (can't
remember command name). whatabout a cron job that regularly checks the ppp
connection and, if it is down, initiates this job using above mentioned
utility at sys-time + 10 minutes?
Dave... 8-)
> -----Original Message-----
> From: Kim Covil [SMTP:kimc at ned.dem.csiro.au]
> Sent: Thursday, April 08, 1999 5:54 PM
> To: plug at linux.org.au
> Subject: Re: [plug] setting up redail rules
>
> > how about a cron job that runs every 10 minutes, that firsty
> > checks to see if the ppp is up, and if the answer = no, then dial out?
>
> The problem with this is timing... what happens when the 10 minute
> timing of the cron job happens 1 minute after disconnection... the cron
> job restarts the ppp connection and the ISP says nope sorry you didn't
> wait long enough... which wastes a phone call... now as long as you
> don't mind wasting the phone call no problem... :)
>
> Cheers
>
> Kim
>
> --
> ======================================================================
> Kim Covil - Australian Geodynamics CRC E-mail: kimc at ned.dem.csiro.au
> CSIRO Exploration & Mining Tel: +61 8 9284 8425 ,-_!\
> PO Box 437, Nedlands, Fax: +61 8 9389 1906 / \
> Western Australia 6009 *_,-._/
> =================================================================== v
> Please direct all personal e-mail to kimbotha at it.net.au
More information about the plug
mailing list