[clug] ppp at timed intervals

Martin Pool mbp at sourcefrog.net
Sat Jul 5 15:15:50 EST 2003

On  5 Jul 2003, Leigh Finch <leigh at primeproperty.com.au> wrote:
> Hi all,
> 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 again.
> I'm abit tired of having to check the time that I started the connection,
> and then manually dc'ing and redialing.

Just run pppd under the timeout(1) command.  On Debian, apt-get
install timeout should do it.


More information about the linux mailing list