> On Tue, 1 Aug 2000, Michael Scottaline wrote:
>
> > On Tue, 01 Aug 2000, [EMAIL PROTECTED] wrote:
> > > does anyone know of a program or script that will periodically poll my
ISP so
> > > that it doesn't disconnect when it thinks the connection is idle?
> > >
> > >
> > > thanks.
> > ================================
> > If your ISP is providing you with a POP3 e-mail account, have
> > something like biff check for mail, say every three minutes or so.
> > This will probably keep the connection (depending on your ISP)
> > Mike
>
> Mike,
> I think biff, at least xbiff, just checks for mail on your own system.
> But fetchmail will poll on periodic basis, start up using 'fetchmail -d
> 3600' to poll each hour. set to 600 for 10 min. polls.
> Warren
>
>
> * | Warren Hrach, San Diego, CA 92107 | *
> * | [EMAIL PROTECTED] Linux & BBBS on an AMD K5 | *
> * | BBS at (619}224-4878 | *
>
>
Also a quick perl script works, I have one on my system that looks something
like this (IIRC):
#!/usr/bin/perl -w
$sleep = "180"; $host = "myisp.net";
while (1 == 1)
{ system ("date");
system ("ping $host");
print ("Staying Alive, Staying Alive, o o o yea, Stayiiiiiiiing
Alliveeeeee\n");
system ("sleep $sleep"); }
Then run it with something like
./alive &
Jack
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs