Platonides <[email protected]> wrote:

>> is there any reliable way to determine if a script is run in
>> the toolserver cluster, i. e. can make use of the database
>> servers & Co., without checking for hostname being wolfs-
>> bane, nightshade or names-to-come?

> Check if it can connect to the database server?

No, as:

a) the database servers may be down, and
b) running the script on another box somewhere on the net
   would require waiting for the timeout/rejection of the
   connection *on* *every* *run* :-).

Tim


_______________________________________________
Toolserver-l mailing list ([email protected])
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: 
https://wiki.toolserver.org/view/Mailing_list_etiquette

Reply via email to