Date: Mon, 25 Nov 1996 01:23:49 +0100 (MET) From: Robert Eckardt <roberte@mep.ruhr-uni-bochum.de> To: quest@shaft.unicus.ca (Dan McCaffrey) Cc: questions@freebsd.org Subject: Re: Script Question Message-ID: <199611250023.BAA05765@ghost.mep.ruhr-uni-bochum.de> In-Reply-To: <Pine.BSF.3.91.961124170030.2111A-100000@shaft.unicus.ca> from Dan McCaffrey at "24. Nov. 96 17:02:49"
next in thread | previous in thread | raw e-mail | index | archive | help
> > Greetings All! I have a FreeBSD 2.1.5 Box connected by ISDN service to my > ISP. Unfortunately my ISPs router is configured to clear connections that > have been inactive for 10 minutes. Right now I have set cron to ping a > host outside of my network every 5 minutes in order to keep the > connection alive. As you could guess my root mailbox gets filled up > pretty quick with the results from the ping. Is there a way that I could > set up a script that is loaded at startup, runs in the background and > pings a host every 5 minutes, without having to involve cron? Thank you > in advance! Have a look at the man page ping(8): You can use ping -i 300 This will send every 300s a packet. Robert -- Robert Eckardt \\ FreeBSD -- solutions for a large universe.(tm) RobertE@MEP.Ruhr-Uni-Bochum.de \\ What do you want to boot tomorrow ?(tm) http://WWW.MEP.Ruhr-Uni-Bochum.de/~roberte For PGP-key finger roberte@gluon.MEP.Ruhr-Uni-Bochum.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611250023.BAA05765>