Page created: 26 Jul 2021 |
Page updated: 7 Dec 2022
Schedule a server shutdown.
To schedule a server shutdown, use the bin/stop-server tool with
the --stopTime YYYYMMDDhhmmss option .
The Directory Server schedules the shutdown and sends a notification to the server.out log file. The following example sets up a shutdown task that is scheduled to be processed on June 6, 2012 at 8:45 A.M. CDT. The server uses the UTC time format if the provided timestamp includes a trailing “Z”, for example, 20120606134500Z. The command also uses the --stopReason option that writes the reason for the shut down to the logs.
$ bin/stop-server --stopTime 20120606134500Z --port 1389 \ --bindDN "uid=admin,dc=example,dc=com" --bindPassword secret \ --stopReason "Scheduled offline maintenance"