Subject Re: [firebird-support] OT: Firebird guardian
Author Daniel Rail
Hi,

At August 25, 2003, 16:20, Louis Louw wrote:

> The recent discussion gave me the idea to write a "guardian" for one of our
> applications that must run 24/7/365.

> The application does have an open HTTP port.
> My question is how can i detect of my application crashed?
> Methods I think can currently work
> - Check if the HTTP port returns a valid HTTP response
> - Check if the application main window handle is still alive

> Or what method(s) does the FB Guardian use?

The guardian starts the server. So, the guardian knows what the
server's process ID and could monitor that. And, you can still look at
the source of FBGuardian to see how it is done in there.

--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)