Reputation: 1941
I want to 'surveil' a page on a website, and get an alert (preferably an email) each time a specific element on the html page is updated. What is the best way to achieve this? I would like the job to run on an ubuntu machine.
Upvotes: 0
Views: 68
Reputation: 1104
you can use cron task to schedule a script to be execute regularly
https://www.digitalocean.com/community/tutorials/how-to-use-cron-to-automate-tasks-on-a-vps
so it would be like
* * * * * /path/to/script
and you can write your own script to fetch the website content, check element and send email
Upvotes: 1