[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

enter 

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

in your crontab (via crontab -e)


thats all,

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

Attachment: pgpFta70nZZmt.pgp
Description: PGP signature


Reply to: