Greatone123
[H]ard|Gawd
- Joined
- May 10, 2006
- Messages
- 1,293
I wasn't really sure where to post this, it's not really related to any of the areas since it's general server management I guess. I think I can phrase it to make it at least appear to be related to data storage.
I've been searching all over the place for a way to execute a single script I made with Autoit when my Server 2012 Essentials gets to low battery level. I'd rather have it at low battery but I'll accept just going to battery at all.
The reason for it is, I want to utilize my server for more then just data storage and back-ups so I want to run a Minecraft server on it. I've been running them for a long time so anything related to the actual server is covered. The problem is that the server runs in a Command Prompt window and doesn't acknowledge windows shutdown to properly save and close, just close.
Minecraft opens the active world files for each player and holds them in memory, saving so often. If you do not properly shutdown the server (running the /stop command) you risk loss of world/player files or possible corruption of them.
I know it's not really data storage related but it's basically I want to run a program on event (power loss/battery level) to keep from losing/corrupting my data. That sounds related right?
This was possible back in XP, but after that they removed the feature from the normal power options. I can't find a program that monitors and can do that, most programs just monitor the level, I don't care about level I want action. I don't know how to use powershell or any of the advanced server stuff like that so I wouldn't even begin to know where to look to achieve this. This is all just driving me crazy.
I've been searching all over the place for a way to execute a single script I made with Autoit when my Server 2012 Essentials gets to low battery level. I'd rather have it at low battery but I'll accept just going to battery at all.
The reason for it is, I want to utilize my server for more then just data storage and back-ups so I want to run a Minecraft server on it. I've been running them for a long time so anything related to the actual server is covered. The problem is that the server runs in a Command Prompt window and doesn't acknowledge windows shutdown to properly save and close, just close.
Minecraft opens the active world files for each player and holds them in memory, saving so often. If you do not properly shutdown the server (running the /stop command) you risk loss of world/player files or possible corruption of them.
I know it's not really data storage related but it's basically I want to run a program on event (power loss/battery level) to keep from losing/corrupting my data. That sounds related right?
This was possible back in XP, but after that they removed the feature from the normal power options. I can't find a program that monitors and can do that, most programs just monitor the level, I don't care about level I want action. I don't know how to use powershell or any of the advanced server stuff like that so I wouldn't even begin to know where to look to achieve this. This is all just driving me crazy.