Hmmm....

>> But what is it you want your script to look out for?
>if (!allRepos.getCurrent().alive()) {
>    allRepos.selectNextPossibleRepo();
>}

Hmmm... Hmmm...

>Uhmm... As I correctly understand the output from the wget, HTTP 404
>Not Found does not mean "machine is unreachable", but it means
>"requested file was not found".

And this is exactly why your scripting scribble would fail. It does not suffice 
to just check for availability, you have to check for consistency. And that is 
what rsync will do anyways.

>> Wouldn't it be smarter to just rsync once an hour and have rsync do the 
>> validation job on its own?
>Sure. But I am a *client*, not a repo maintainer... :)

Cheers
 Stefan.

Acando GmbH
Geschäftsführer: Michael Mörchen
Amtsgericht Hamburg, HRB 76048
Ust.Ident-Nr.:DE208833022

Haftungsausschluss: Diese Nachricht ist ausschließlich für die Person oder 
Einheit bestimmt, an die sie gerichtet ist. Sie enthält unter Umständen 
Informationen, die unter geltendem Recht vertraulich, gesetzlich geschützt oder 
von der Offenlegung ausgeschlossen sind. Falls Sie nicht der vorgesehene 
Empfänger oder verantwortlich für die Weiterleitung dieser Nachricht an den 
vorgesehenen Empfänger sind, ist es Ihnen strengstens untersagt, diese 
Nachricht offenzulegen, zu verteilen, zu kopieren oder in irgendeiner Art zu 
benutzen. Sollten Sie diese Nachricht versehentlich erhalten haben, 
benachrichtigen Sie bitte den Absender und löschen und vernichten Sie jegliche 
Kopie davon, die Sie möglicherweise erhalten haben.

Disclaimer: This message is intended only for the use of the individual or 
entity to which it is addressed and may contain information which is 
privileged, confidential, proprietary, or exempt from disclosure under 
applicable law. If you are not the intended recipient or the person responsible 
for delivering the message to the intended recipient, you are strictly 
prohibited from disclosing, distributing, copying, or in any way using this 
message. If you have received this communication in error, please notify the 
sender and destroy and delete any copies you may have received.

_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to