[clug] ppp at timed intervals
leigh at primeproperty.com.au
Sat Jul 5 13:26:28 EST 2003
The reason being is because, I have a 6 hour session limit of 6 hours, and
if I dc 20 mins before the session limit, I can reconnect straight away. Yea
cron might be easier.
From: Russell Weatherburn [mailto:russell at oxyoss.net]
Sent: Saturday, July 05, 2003 1:20 PM
To: Leigh Finch
My first reaction was, "why would you?"
I would consider using cron for this, it'd be the easiest way I can
think of. Set up a bash script (perl if you must) and then call it from
cron at the set intervals.
Leigh Finch wrote:
>I'm running a box with ppp running for dial up, just wondering if anyone
>knows of a perl script that would start the ppp process with certain flags,
>and kill it every 5 hours and 40 mins, then reinitiate the connection
>I'm abit tired of having to check the time that I started the connection,
>and then manually dc'ing and redialing.
mailto:russell at oxyoss.net
More information about the linux