Hi,

I have implemented the following Crontab record to monitor my ADSL, and bring it up 
when it comes done:
if ! ping -c 1 -n 192.114.47.250 > /dev/null ; then killall -KILL pptp ; logger ADSL 
connection stopped ; /usr/sbin/adsl-up ; logger ADSL connection started; fi

It doesn't work well :(, I get a lot of "/bin/sh ping..." entries in the process list, 
consuming a lot of memory.

Does anyone have a better solution?

Thanks
Noam Rathaus
CTO
Beyond Security Ltd.
http://www.securiteam.com 


================================================================To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to