> >Here is a script that you can run from a cron job which will log >Internet status and store >the results into a file in your home folder called net-test.txt: > >#! /bin/bash > >date >> ~/net-test.txt >ping -c 1 google.com >> ~/net-test.txt > >#end of file
smokeping is a tool made for this. -nik