• To schedule a server shutdown, use the bin/stop-server command with the --stopTime YYYYMMDDhhmmss option.

    The 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"