Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 1996 01:23:49 +0100 (MET)
From:      Robert Eckardt <>
To: (Dan McCaffrey)
Subject:   Re: Script Question
Message-ID:  <>
In-Reply-To: <> 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 Eckardt                \\ FreeBSD -- solutions for a large universe.(tm) \\       What do you want to boot tomorrow ?(tm)
For PGP-key finger

Want to link to this message? Use this URL: <>