try "ping -i nsecs -q &"
where nsecs is the number of seconds between ping packets, -q gives the quiet
mode, and & to bring the process to the background.
hth.
vince.
"Horatio B. Bogbindero" wrote:
> notice some ISP's have this evil habit of disconnecting their users who
> have been idle for just a few seconds like say 10 seconds for my ISP. i
> would like to write a crontab entry that executes a single ping every
> 5 seconds. this way there is always activity.
>
> i was only able to find our how to do it for intervals of one minute.
>
> thanks.
>
>
> ---------------------
> [EMAIL PROTECTED]
>
> DISCLAIMER:
> Use of this advanced computing technology does not imply an endorsement
> of Western industrial civilization.
>
>
> _
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]