Get an email when a web page changes

Set up a cron job like the below:

12 10,19 * * * curl -s https://sitetocheck.com/page.html | grep 'text that will change' >/dev/null || mail -s 'page changed' your@emailaddress.com

Leave a Reply

Your email address will not be published. Required fields are marked *