Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'use urlwatch instead' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
use urlwatch instead
Authored by: macubergeek on Oct 29, '08 02:39:52AM
http://freshmeat.net/projects/urlwatch

this script checks for any change in a web page.
launch it with a conditional cronjob ie:

The below cronjob should be all on one line:
*/10 * * * 1-5 /Users/jamesk/scripts/urlwatch-1.3/watch.py > /tmp/foo.out && if /bin/test -s /tmp/foo.out; then /usr/bin/mail -s Alert! myemail@whatever.com < /tmp/shmoocon.out;fi

This requires that you enable postfix under Leopard using MailServe to be able to get the email alerts.

[ Reply to This | # ]
corrected cron job
Authored by: macubergeek on Oct 29, '08 03:07:03AM

*/10 * * * 1-5 /Users/jamesk/scripts/urlwatch-1.3/watch.py > /tmp/foo.out && if /bin/test -s /tmp/foo.out; then /usr/bin/mail -s Alert! myemail@whatever.com < /tmp/foo.out;fi



[ Reply to This | # ]