Page created: 24 Jul 2019 |
Page updated: 6 Nov 2019
Use the bin/stop-server tool with the --stopTime
YYYYMMDDhhmmss option to schedule a server shutdown.
The Directory Proxy 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"