!m setting up a bukkit server with a ups backup in case the power goes out. My grandma has the highest speed internet i can think of so ill be putting it in a spare room at her house. The problem is i want to able to send a message using the server console chat if the power goes out saying that the server will be shutting down until power is restored and then have the computer shut down automatically but there's no way she will remember how to send it so i was thinking of something like a batch file but i don't know if that would work any ideas or suggestions would be really appreciated.
Added (1). basically what i want to do is if the power goes out and the ups is activated i want the server to send a message saying the server will be down until the power company can turn power back on and then after a minute or two have the computer shut its self down