The Directory Proxy Server has a Tasks subsystem that allows you to schedule basic operations, such as backup, restore, bin/start-server, bin/start-server and others. All task-based utilities require the --task option that explicitly indicates the utility is intended to run as a task rather than in offline mode. The following table shows the arguments that can be used for task-based operations:
|Indicates that the tool is invoked as a task. The --task argument is required. If a tool is invoked as a task without this --task argument, then a warning message will be displayed stating that it must be used. If the --task argument is provided but the tool was not given the appropriate set of authentication arguments to the server, then an error message will be displayed and the tool will exit with an error.
|Indicates the date and time, expressed in the format 'YYYYMMDDhhmmss', when the operation starts when scheduled as a server task. A value of '0' causes the task to be scheduled for immediate execution. When this option is used, the operation is scheduled to start at the specified time, after which this utility will exit immediately.
|Specifies the ID of a task upon which this task depends. A task will not start execution until all its dependencies have completed execution. This option can be used multiple times in a single command.
|Specifies the action this task will take should one of its dependent tasks
fail. The value must be one of the following:
DISABLE. If not specified, the default
CANCEL. This option can be used multiple times in a
|Specifies the email address of a recipient to be notified when the task completes. This option can be used multiple times in a single command.
|Specifies the email address of a recipient to be notified if an error occurs when this task executes. This option can be used multiple times in a single command.