Re: Scripting a mirror test

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kevin Faulkner
Date:  
To: Main PLUG discussion list
Subject: Re: Scripting a mirror test
What about curl?

Jon M. Hanson wrote:
> 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 -
>> 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.
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


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