On 20:31 08 Mar 2003, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
| On Sat, 8 Mar 2003 [EMAIL PROTECTED] wrote:
| > On Fri, 7 Mar 2003, Steve Lee wrote:
| > > In SecureCRT, (windows people) can send a packet every so many
| > > hours, to keep it alive, anyone with any ideas on doing this
| > > is Xwindows ?
| > while /bin/true;do ping -c 1 REMOTEHOST_IP >/dev/null 2>&1;done &
| ACTUALLY that should be:
| while /bin/true;do ping -c 1 REMOTEHOST_IP >/dev/null 2>&1;sleep 5m;done &
Wouldn't a plain
ping -i 300 REMOTEHOST_IP &
do just as well? Ping will happily ping forever, which is what your loop is
intended to do.
Cheers,
--
Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/
My computer always does exactly what I tell it to do but sometimes I have
trouble finding out what it was that I told it to do.
- Dick Wexelblat <[EMAIL PROTECTED]>
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list