.quit
Close connection.
Synopsis
.quit
Words without brackets are required, [ ] marks optional parts, a | b alternatives, ... a repeatable argument and [,...] a comma separated list.
Description
Ends the console session: the Director closes the connection without sending text. It is the dot-command form of quit and exit meant for programs. Running jobs continue. Further words on the line are ignored.
In API mode 1 the Director sends the signals CMD_BEGIN and CMD_OK before closing, in mode 2 additionally an empty JSON-RPC result; no MAIN_PROMPT follows in any mode. If the Command ACL does not allow .quit, the connection stays open.
Examples
Close the connection:
.quit