PSU auto shutdown
Posted: 17 Nov 2020 22:44
Hello there!
I've got a new PSU (a GreenCell PowerProof 2000VA). It comes with its software that allows me to specify what actions should the PSU force onto the machine before it shuts down. I'm running a minecraft (yes, yes I know) server on that machine.
The server is started with this simple script:
The PSU software is able to execute "Command files" so I'm guessing that it includes .bat files. Is it possible to write any simple script/code to "make" the main cmd window that's running the server to issue a "stop" command, wait until it spats out the timeout, actually exit the console and only after this shut down the computer itself?
I'd just like to say I have little to no experience with these sorts of things, so if this question is too silly to be answered you can just link me to a resource that can help me with this.
P.S if anyone has this PSU, does your unit also gives off this "circuitry burning" smell when you change its communication type?
I've got a new PSU (a GreenCell PowerProof 2000VA). It comes with its software that allows me to specify what actions should the PSU force onto the machine before it shuts down. I'm running a minecraft (yes, yes I know) server on that machine.
The server is started with this simple script:
Code: Select all
@echo OFF
:loop
java -Xmx14336M -Xms14336M -jar server.jar nogui
echo Press CTRL+C to exit the server.
timeout 10
echo (%time%) Restarting.
goto loop
I'd just like to say I have little to no experience with these sorts of things, so if this question is too silly to be answered you can just link me to a resource that can help me with this.
P.S if anyone has this PSU, does your unit also gives off this "circuitry burning" smell when you change its communication type?