HP StorageWorks Storage Mirroring Scripting Guide (T2558-96327, April 2009)

16 - 36
Quit
Options
TIMEOUT timeout—Valid number followed by an optional time indicator
indicating the length of time ot pause while waiting for the task to
complete. The valid time indicators include seconds, minutes, hours, and
days. If you do not specify a time indicator, it will default to seconds. The
number zero (0) indicates there is no timeout delay and the next
operation is immediately processed. The keyword FOREVER indicates that
the next operation is not processed until the task has completed
execution. If you do not specify this option, the timeout will default to
forever.
INTERACT—Tasks interact with the desktop and, therefore, display on
screen and run in the foreground
NOINTERACT—Tasks do not interact with the desktop
Examples
qtask backup to beta onrec=PauseAndBackup.bat
onexec=resume.bat
Notes
The default setting for this command is nointeract.
Any combination of one or more execution points can be used with the
same queuetask command.
All script processing messages, including errors, can be viewed in the
Storage Mirroring logs and the Windows Event Viewer.
Onqueue will still execute as soon as the task is placed on the queue even
if transmission is stopped (manually stopped or paused, unmet scheduled
transmission criteria, etc.). Any other option will not execute until
transmission is restarted.
If your source is in a restore required state, any task placed on the queue
will be executed immediately. Use caution when submitting tasks while in
this state so that the target does not get inadvertently updated.
A task may be discarded if all connections to a target are manually
disconnected, replication is stopped for all connections to a target, or an
auto-disconnect occurs.
If a task is submitted after replication is stopped, the task will be
executed immediately.
If you disable task command processing while tasks are in queue, those
tasks will not be executed.
The user submitting the task command must be a member of the
Double-Take Admin security group on both the source and target and
the Storage Mirroring service must have proper privileges to access the
files or run the commands specified in the task.
Options that contain non-alphanumeric characters must be enclosed in
quotation marks.
Command QUIT
Description Quits the Command Line Interactive client
Syntax QUIT