Joey Prestia wrote:
> Problem: I need to come up a script that I can use to test if between 30 
> to 50 mirrors are carrying the content of a particular page in its 
> unchanged form. I would guess to create a script with maybe a for loop 
> and a file with the web addresses of these mirrors and run a diff on the 
> pages then send any errors to me so if the site is failing to maintain 
> its content I can be notified. I am still quite new to this but am sure 
> it can be done with a script that I could run as a cron job instead of 
> manually testing each of the pages several times a week. Any suggestions 
> on how I could load the site content to do this and what commands would 
> be best suited?
> Thanks Joey
> ---------------------------------------------------
> PLUG-discuss mailing list - [email protected]
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>   
wget is a command-line interface for web pages. You could use that to
download the web pages into a file and then do something like diff,
md5sum, sha1sum, etc. to see if they are the same.

-- 
Jon M. Hanson (N7ZVJ)
Homepage:  http://the-hansons-az.net
Weblog:    http://the-hansons-az.net/wordpress
Jabber IM: [EMAIL PROTECTED]


Attachment: signature.asc
Description: OpenPGP digital signature

---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Reply via email to