BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {bb} External Script and blue color
On Mon, 2006-06-26 at 11:01, Olivier MOULIN wrote:
>
> Hi,
>
> I use a script and when I manually disable the test (blue) I would
> like to stop the execution of the script too.
>
> Do you know how can I do this ?
First the caveat. I don't recall ever having to do this, it is just
an opinion. There may be some "elephant traps" ahead that I'm not
seeing.
I think that I would favour the "short circuit" method. Just make a
change to your script so that, prior to performing the test, it queries
the current test status. Then, if the test is currently disabled, the
script can exit without performing the test.
If the script is running on your BB server, you would be able to
access the required file directly. Otherwise, if the script runs
on a client, you would probably have to query the status over HTTP.
In either case, I'd try and start the test again before the disabled
status is due to expire, to ensure that you don't end up with
unnecessary "purples".
Cheers, Phil.
--
You are only young once, but you can stay immature indefinitely.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index