ShutDown - Start server shut down
The command starts the server shut down. When beginning to shut down the server, no more transactions can be committed. The server tries to finishing all running transactions. If any transaction is running after five minutes or a given number seconds (timeout) the server will cancel those transactions (error 323).
To ensure database consistency before shutting down, one may run the StartPause command before calling ShutDown.
ShutDown servere port [timeout]
server - server url or IP address
port - port number for the server passed when starting the server
timeout - The ShutDown command waits "timeout" seconds (default: 300) for committing active transactions. When any transaction is still running after the timeout interval, the server will cancel those transactions (error 323).