WWC provides a tool which monitors changes in Web sites.
WWC (Which Web site Changed) is a tool that visits a user-provided list of Web sites and notifies the user via email if any of them has changed. It is designed to be run by cron once a day.
· cron - to start wwc once a day
· wget - a program to download webpages
· a mail subsystem that allows you to send emails using the 'mail' command
· cmp - to compare the new file with the old file
· make a directory that you have write access to (e.g.: ~/.wwc/)
· put a list of websites to watch in this directory (e.g.: ~/.wwc/wwc.cfg)
· if you have the wget or the mail command in an unusual location, then edit the wwc.pl script accordingly
· copy the ww.pl script to a location of your choice (e.g.: /usr/local/bin/wwc.pl)
· add a line to your crontab to start wwc once a day (using crontab -e):
0 8 * * * /usr/local/bin/wwc.pl /home/bichler/.wwc/wwc.cfg
to start it every day at 8:00
FORMAT OF WEBSITE LIST:
The first line of the config file must contain an email address, that the reports will be sent to.
The following lines start with a descriptive name for the website, followed by the address of the website. Everything up to the first http:// or ftp:// is considered to be the name, everything after to be the address.
Empty lines and lines starting with '#' are ignored.