HP XP P9000 Replication Manager Software 7.6.0-00 User Guide

Getting information about tasks (GetTasks)
The GetTasks command obtains information about tasks that have been created for execution by
the CLI. The parameters enable you to specify a taskID for which you want information, retry interval,
and number of times to confirm a task status change. If you specify a taskID, the return value enables
you to confirm the task status. If you do not specify any parameters, all CLI tasks are displayed.
Syntax
To specify the task ID:
GetTasks [taskID=task-id]
To specify retry interval and number of times to retry:
GetTasks [taskID=task-id retryInterval=retry-interval
retryCount=number-of-retries]
Parameters
DescriptionParameter
The task ID number of a task created using the CLI.
Each alphabetical character must be uppercase.
You cannot specify multpile taskIDs.
If you do not specify the taskID, all CLI-based tasks are displayed.
taskID
Specifies the retry interval: 1-3600 seconds. Use of this parameter requires
that you specify the taskID and retryCount.
retryInterval
Specifies the retry count: 0-3600. A value of 0 means the GetTasks command
is retried until the task status changes. Use of this parameter requires that you
specify the taskID and retryInterval.
retryCount
Return values
DescriptionValue
Normal termination0
An error occurred1
The task is pending execution100
The task is in execution101
The task was cancelled102
The task failed to execute103
The execution was successful104
The execution task timed out105
Replication Manager CLI tools450