[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: a script for pinging machine on the network.

On Sat, Jul 27, 2002 at 02:07:08PM -0400, ThanhVu Nguyen wrote:
> One of my computer has this (annoying) feature that it will turn the
> nic off if being idle for couple hours.  The only way to restart is to
> physically hit the keyboard.  So I am thinking that a little small
> ping script that pings this machine every 30 minutes will help cure
> the problem. Can someone give me such script ?  Thanks


*/30 * * * * ping host.with.problematic.nic

in your crontab (via crontab -e)

thats all,

Registered Linux User #280755, Debian GNU/Linux  http://counter.li.org/
Secure eMail with gnupg                          http://www.gnupg.org/

Attachment: pgpq4vuTfVpWz.pgp
Description: PGP signature

Reply to: