Well Jim almost
try this instead :)
*/3 * * * * ping -c1 myisp.net
this sends one icmp packet instead of a comtinious strem that ads
another instance of itself every 3 minutes :)
> -----Original Message-----
> From: Jim Reimer [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, August 01, 2000 12:24 PM
> To: Jack Barnett
> Cc: warren11; Michael Scottaline; [EMAIL PROTECTED]
> Subject: Re: keepalive/wakeup script
>
> and of course you could just use cron to ping the host every few minutes.
>
> crontab entry:
> */3 * * * * ping myisp.net
> would do it every three minutes.
>
> Jack Barnett wrote:
> >
> > > 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
> >
>
> --
> Regards,
> Jim Reimer - WA5RRH
> [EMAIL PROTECTED]
> http://www.webzone.net/jdreimer
>
> -
> 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
-
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