Saturday, March 23, 2013

Monitor url content

if wget -q [url] -O - | grep [keyword regular expression] > /dev/null
then
   sendmail -t < From: from@email.com
To: to@email.com
Subject: your key word appeared
in URL
FOO
fi


Add this script to crontab. 

No comments:

Blog Archive

Followers