I have a computer that every 5 hours change is IP I want to make a script that will run every hours with this command -
wget -q -t 5 --output-document=- "http://automation.whatismyip.com/n09230945.asp"
and send me the ip that he is getting. how do I do this? and is it possible to do? thanks.
sudo -e
invokes the default editor that will create a new file (ipcheck) in the /etc/cron.hourly/ directory. It's a BASH shell script. – Jan 03 '13 at 20:51