Poweroff using the AT command?
I have a server running in a room that is scheduled to have maintenance done tomorrow. All the power will be shut off to that room, and I can't get to it before then.
I want to leave the server running as long as I can, and shut it down just before they switch off the power.
So far, my best guess is to do a poweroff command using AT.
But I don't know how.
Does someone know how to write this?