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?
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