On Wed, 2009-09-02 at 15:55 +0000, Tim Landscheidt wrote:
Platonides <platonides(a)gmail.com> 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?
Given that you need to give it server-specific database login details
anyway, you can presumably just check to see if those are available.
Conrad
Tim
_______________________________________________
Toolserver-l mailing list (Toolserver-l(a)lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list:
https://wiki.toolserver.org/view/Mailing_list_etiquette