HomeTom - CS
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:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
►
2019
(1)
►
April
(1)
►
2018
(1)
►
May
(1)
►
2017
(2)
►
April
(2)
►
2016
(5)
►
July
(1)
►
May
(1)
►
February
(2)
►
January
(1)
►
2015
(53)
►
October
(1)
►
September
(7)
►
August
(8)
►
July
(6)
►
June
(1)
►
May
(6)
►
April
(11)
►
March
(10)
►
February
(2)
►
January
(1)
►
2014
(64)
►
November
(4)
►
October
(4)
►
September
(1)
►
August
(4)
►
July
(23)
►
June
(17)
►
May
(2)
►
March
(3)
►
February
(3)
►
January
(3)
▼
2013
(27)
►
December
(3)
►
October
(1)
►
August
(3)
►
July
(10)
►
June
(4)
▼
March
(5)
Monitor url content
T-SQL III
T-SQL II
Parsing expression grammar (PEG)
T-SQL I
►
February
(1)
►
2012
(43)
►
December
(2)
►
November
(5)
►
October
(2)
►
September
(2)
►
August
(5)
►
July
(6)
►
May
(5)
►
April
(5)
►
March
(7)
►
February
(2)
►
January
(2)
►
2011
(60)
►
November
(8)
►
October
(3)
►
September
(6)
►
August
(5)
►
July
(8)
►
June
(9)
►
May
(10)
►
April
(3)
►
February
(3)
►
January
(5)
►
2010
(67)
►
December
(8)
►
November
(1)
►
October
(1)
►
September
(1)
►
August
(6)
►
July
(11)
►
June
(6)
►
May
(9)
►
April
(14)
►
March
(5)
►
February
(4)
►
January
(1)
►
2009
(20)
►
December
(5)
►
November
(2)
►
October
(2)
►
September
(3)
►
August
(2)
►
July
(4)
►
April
(2)
►
2008
(8)
►
October
(2)
►
July
(3)
►
June
(2)
►
March
(1)
About Me
Tom
View my complete profile
Followers
No comments:
Post a Comment