>Thanks Paul.
>
>For power outages of a number of hours and with an application used by some 150 users, UPS's are not the solution.
>
>What comes to my mind is a sensor which would create a file when the server's UPS kicks in, and then the application would check for the existense of this file every once in while.
>
>J
You can buy UPS's that have a serial interface on them to notify the server to shutdown. Shutting down the app via a file triggered by this should be a decent solution to the problem.