User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

ping_test_script_for_cron [2009/08/28 00:01] (current)
k2patel created
Line 1: Line 1:
 +====== Simple Ping test script ======
 +This is lame script for just to serve quick purpose.
 +<code bash |>​
 +/sbin/ping -c 3
 +if [ $? -eq 0 ]
 +echo "​Pinging"​
 +echo "Not Pinging - Restarting Network"​
 +/​etc/​init.d/​network restart
ping_test_script_for_cron.txt ยท Last modified: 2009/08/28 00:01 by k2patel