...
Description | Cancels the specified task instance. See Cancelling a Task Instance for a description of behavior and restrictions. |
---|
Syntax | uagcmd ops-task-cancel global parameters {task-instance-id=ID | task-instance-name=name} [instance-criteria=criteria] [workflow-instance-name=name]
|
---|
Parameter |
Html bobswift |
---|
<ul>
<li> <code>task-instance=</code> <br>Required; An |
task-instance= Required; An internal Universal Controller identifier
Warning |
---|
| Replaced by task-instance-id= parameter; the command first will check for task-instance= ; if it is not specified, the command will check for task-instance-id= . | Html bobswift | .
<li><code>task </code> <br> Required if <code>task Required if task-instance-name= </code>
<li><code>task</code> <br> Required if <code>task Required if task-instance-id= </code> <code>instance</code>
<li><code>instance</code> <br> Optional if <code>task Optional if task-instance-name= </code> <b>oldestinstance</b> <b>oldest_instance</b>, <b>newest- oldest_instance, newest_active_
instance</b>, <b>newest_instance</b>
<li><code>workflow- instance, newest_instance
workflow-instance-name= </code> <br> For a task instance in a workflow, optional; Name of the workflow instance.
</ul> For a task instance in a workflow, optional; Name of the workflow instance.
|
---|
Example |
Panel |
---|
Html bobswift | <pre>uagcmduagcmd ops-task-cancel -c config.cfg Html bobswift |
---|
task-instance-name=Task A </pre> |
|
---|
Anchor |
---|
| ops-task-clear-dependencies |
---|
| ops-task-clear-dependencies |
---|
|
Clear All Dependencies
Description | Clears all dependencies of a task instance. |
---|
Syntax | uagcmd ops-task-clear-dependencies global parameters {task-instance-id=ID | task-instance-name=name} [instance-criteria=criteria] [workflow-instance-name=name]
|
---|
Parameters | task-instance-id= Required if task-instance-name= is not specified; sys_id of the task instance to run the command on.task-instance-name= Required if task-instance-id= is not specified; Name of the task instance to run the command on. (If instance-criteria= is not specified, the oldest active task instance with the matching name will apply.)instance-criteria= Optional, if task-instance-name= is specified; One of the following (not case-sensitive): oldest_active_instance (default), oldest_instance, newest_active_instance, newest_instance.workflow-instance-name= For a task instance in a workflow, optional; Name of the workflow instance.
|
---|
Example |
Panel |
---|
Html bobswift | <pre>uagcmduagcmd ops-task-clear-dependencies -c config.cfg Html bobswift |
---|
task-instance-name=Task A </pre> |
|
---|
Anchor |
---|
| ops-task-clear-resources |
---|
| ops-task-clear-resources |
---|
|
Clear Virtual Resource Dependencies
Description | Clears all virtual resource dependencies of a task instance. |
---|
Syntax | uagcmd ops-task-clear-resources global parameters {task-instance-id=ID | task-instance-name=name} [instance-criteria=criteria] [workflow-instance-name=name] resource-name=name
|
---|
Parameters | task-instance-id= Required if task-instance-name= is not specified; sys_id of the task instance to run the command on.task-instance-name= Required if task-instance-id= is not specified; Name of the task instance to run the command on. (If instance-criteria= is not specified, the oldest active task instance with the matching name will apply.)instance-criteria= Optional, if task-instance-name= is specified; One of the following (not case-sensitive): oldest_active_instance (default), oldest_instance, newest_active_instance, newest_instance.workflow-instance-name= For a task instance in a workflow, optional; Name of the workflow instance.resource-name= Required; One of the following:- Name of the virtual resource dependency to clear.
- An asterisk ( * ) to clear all virtual resource dependencies.
|
---|
Example |
Panel |
---|
Html bobswift | <pre>uagcmduagcmd ops-task-clear-resources -c config.cfg Html bobswift |
---|
task-instance-name=Task A resource-name=Resource A</pre>A |
|
---|
Anchor |
---|
| ops-task-clear-exclusive |
---|
| ops-task-clear-exclusive |
---|
|
Clear Exclusive Dependencies
Description | Clears all exclusive dependencies of a task instance. |
---|
Syntax | uagcmd ops-task-clear-exclusive global parameters {task-instance-id=ID | task-instance-name=name} [instance-criteria=criteria] [workflow-instance-name=name]
|
---|
Parameters | task-instance-id= Required if task-instance-name= is not specified; sys_id of the task instance to run the command on.task-instance-name= Required if task-instance-id= is not specified; Name of the task instance to run the command on. (If instance-criteria= is not specified, the oldest active task instance with the matching name will apply.)instance-criteria= Optional, if task-instance-name= is specified; One of the following (not case-sensitive): oldest_active_instance (default), oldest_instance, newest_active_instance, newest_instance.workflow-instance-name= For a task instance in a workflow, optional; Name of the workflow instance.
|
---|
Example |
Panel |
---|
Html bobswift | <pre>uagcmduagcmd ops-task-clear-exclusive -c config.cfg Html bobswift |
---|
task-instance-name=Task A </pre> |
|
---|
Anchor |
---|
| ops-task-clear-time |
---|
| ops-task-clear-time |
---|
|
Clear Time Dependency
Description | Clears the time dependency of a task instance. |
---|
Syntax | uagcmd ops-task-clear-timewait global parameters {task-instance-id=ID | task-instance-name=name} [instance-criteria=criteria] [workflow-instance-name=name]
|
---|
Parameters | task-instance-id= Required if task-instance-name= is not specified; sys_id of the task instance to run the command on.task-instance-name= Required if task-instance-id= is not specified; Name of the task instance to run the command on. (If instance-criteria= is not specified, the oldest active task instance with the matching name will apply.)instance-criteria= Optional, if task-instance-name= is specified; One of the following (not case-sensitive): oldest_active_instance (default), oldest_instance, newest_active_instance, newest_instance.workflow-instance-name= For a task instance in a workflow, optional; Name of the workflow instance.
|
---|
Example |
Panel |
---|
Html bobswift | <pre>uagcmduagcmd ops-task-clear-timewait -c config.cfg Html bobswift |
---|
task-instance-name=Task A </pre> |
|
---|
Anchor |
---|
| ops-task-list |
---|
| ops-task-list |
---|
|
Display All Tasks
Description | Displays all specified tasks. |
---|
Syntax | uagcmd ops-task-list global parameters task-name=name [task-type=type]
|
---|
Parameters | task-name= Optional; Name or partial name of one or more tasks. Wildcards are supported.task-type= Optional; One of the following (not case sensitive): application_control, email, email_monitor, agent_file_monitor, ftp, remote_file_monitor, indesca / universal_command / ucmd, manual, sap, peoplesoft, sql, stored_procedure, system_monitor, task_monitor, timer, unix, variable_monitor, web_service, windows, workflow, zos.
|
---|
Example |
Panel |
---|
Html bobswift | <pre>uagcmduagcmd ops-task-list -c config.cfg Html bobswift |
---|
task-name=Task A task-type=timer </pre> |
|
---|
Anchor |
---|
| ops-task-status |
---|
| ops-task-status |
---|
|
Display Task Instance Status
Description | Displays the status of all task instance(s) associated with the specified task. |
---|
Syntax | uagcmd ops-task-status global parameters task-instance-name=name [agent-name=name] [task-type=type] [task-status=status] [{workflow-instance-id=id] | [workflow-instance-name=name}] [workflow-instance-criteria=criteria] [options=v]
|
---|
Parameters |
Html bobswift | <ul>
<li> <code>tasktask-name= </code> <br>Required; Name or partial name of one or more tasks. Required; Name or partial name of one or more tasks. Wildcards are supported.
Warning |
---|
| Replaced by task-instance-name= parameter; the command first will check for task-name= ; if it is not specified, the command will check for task-instance-name= . | Html bobswift | <li> <code>task </code> <br>Optional; Name of the task Optional; Name of the task instance(s) Html bobswift |
<li> <code>agent</code> <br>Optional; Name of the agent the task Optional; Name of the agent the task instance(s)
<li> <code>task</code> <br>Optional; One of the following (not case Optional; One of the following (not case sensitive): <b>application_control</b>, <b>email</b>, <b>email_monitor</b>, <b>agent file_monitor</b>, <b>ftp</b>, <b>remote_file_monitor</b>, <b>indesca</b> / <b>universal_command</b> / <b>ucmd</b>, <b>manual</b>, <b>sap</b>, <b>peoplesoft</b>, <b>sql</b>, <b>stored_procedure</b>, <b>system_monitor</b>, <b>task_monitor</b>, <b>timer</b>, <b>unix</b>, <b>variable_monitor</b>, <b>web_service</b>, <b>windows</b>, <b>workflow</b>, <b>zos</b>.
<li> <code>task-status=</code> <br>Optional; List of comma-separated - application_control, email, email_monitor, agent file_monitor, ftp, remote_file_monitor, indesca / universal_command / ucmd, manual, sap, peoplesoft, sql, stored_procedure, system_monitor, task_monitor, timer, unix, variable_monitor, web_service, windows, workflow, zos.
task-status= Optional; List of comma-separated task status codes and/or names
Html bobswift | <i>status name</i>,<i>status code or name</i>- name,status code or name,...,
<i>status name</i>
<li> <code>workflow</code> <br>For a task instance in a workflow, optional if <code>workflow For a task instance in a workflow, optional if workflow-instance-name= </code>
<li> <code>workflow</code> <br>For a task instance in a workflow, optional if <code>workflow For a task instance in a workflow, optional if workflow-instance-id= </code> <code>workflowworkflow-instance-criteria= </code>
<li> <code>workflowworkflow-instance-criteria= </code> <br>Optional, if <code>workflow Optional, if workflow-instance-name= </code> <b>oldestinstance</b> <b>oldest_instance</b>, <b>newest- oldest_instance, newest_active_
instance</b>, <b>newest_instance</b>.
<li> <code>options=</code> <br>Optional; <b>v</b> (Return verbose results.)
</ul>- instance, newest_instance.
options= Optional; v (Return verbose results.)
|
---|
Example |
Panel |
---|
Html bobswift | <pre>uagcmduagcmd ops-task-status -c config.cfg Html bobswift |
---|
task-instance-name=mantask agent-name=managent task-type= manual</pre>manual |
|
---|
Task Instance Status Types
...
Description | Force finishes the specified task instance. See Force Finishing a Task Instance for a description of behavior and restrictions. |
---|
Syntax | uagcmd ops-task-forcefinish global parameters {task-instance-id=ID | task-instance-name=name} [instance-criteria=criteria] [workflow-instance-name=name]
|
---|
Parameter | Html bobswift |
---|
<ul>
<li> <code>task-instance=</code> <br>Required; An |
task-instance= Required; An internal Universal Controller identifierIdentifier Warning |
---|
| Replaced by task-instance-id= parameter; the command first will check for task-instance= ; if it is not specified, the command will check for task-instance-id= . | Html bobswift | .
<li><code>task </code> <br> Required if <code>task Required if task-instance-name= </code>
<li><code>task</code> <br> Required if <code>task Required if task-instance-id= </code> <code>instance</code>
<li><code>instance</code> <br> <code>task</code> <b>oldestinstance</b> <b>oldest_instance</b>, <b>newest- oldest_instance, newest_active_
instance</b>, <b>newest_instance</b>
<li><code>workflow- instance, newest_instance
workflow-instance-name= </code> <br> For a task instance in a workflow, optional; Name of the workflow instance.
</ul> For a task instance in a workflow, optional; Name of the workflow instance.
|
---|
Example |
Panel |
---|
Html bobswift | <pre>uagcmduagcmd ops-task-forcefinish -c config.cfg Html bobswift |
---|
task-instance-id= 90079020d861e5e40128cbb3cdbe1cf3</pre>90079020d861e5e40128cbb3cdbe1cf3 |
|
---|
Anchor |
---|
| ops-task-launch |
---|
| ops-task-launch |
---|
|
Launch a Task
Description | Launches the specified task(s). |
---|
Syntax | uagcmd ops-task-launch global parameters [task-type=type] task-name=name {time-zone=Australia/Sydney] [hold=option] [task-variables=variables] [virtual-resource-priority=priority] [virtual-resources=resources]
|
---|
Parameters | htmlbobswift<ul>
<li> <code>task-type</code>= <br>Optional; One of the following (not case sensitive): <b>timer</b>, <b>windows</b>, <b>unix</b>, <b>zos</b>, <b>agent_file_monitor</b>, <b>manual</b>, <b>email</b>, <b>email_monitor</b>, <b>ftp</b>, <b>sql</b>, <b>remote_file_monitor</b>, <b>task_monitor</b>, <b>stored_procedure</b>, <b>workflow</b>, <b>sap</b>, <b>peoplesoft</b>, <b>system_monitor</b>, <b>indesca</b> / <b>universal_command</b> / <b>ucmd</b>, <b>web_service</b>, <b>application_control</b>.
<li> <code>task-name=</code> <br>Required; Valid task name. | Wildcards Html bobswift |
---|
are supported.
<li> <code>time-zone=</code> <br>Optional; Time zone in which the task is launched.
<li> <code>hold=</code> <br>Optional; Specification for whether to place the task in |
Held Html bobswift | status when it is launched. Valid values are (not case sensitive): yes/y/true.
<li> <code>task-variables=</code> <br>Optional; Any variables specified in the task that need a value to run properly.
<li> <code>virtual-resource-priority=</code> <br>Optional;
Virtual resource priority of the task instance. Valid values are any integer between 1 and 20. Defaults to the virtual resource priority defined in the task Details.
<li> <code>virtual-resources=</code> <br>Optional;
Comma-separated list of <resource-name>:<amount> pairs. For example, <b>VR1type = Optional; One of the following (not case sensitive): timer, windows, unix, zos, agent_file_monitor, manual, email, email_monitor, ftp, sql, remote_file_monitor, task_monitor, stored_procedure, workflow, sap, peoplesoft, system_monitor, indesca / universal_command / ucmd, web_service, application_control.task-name= Required; Valid task name. Wildcards are supported.time-zone= Optional; Time zone in which the task is launched.hold= Optional; Specification for whether to place the task in Held status when it is launched. Valid values are (not case sensitive): yes/y/true.task-variables= Optional; Any variables specified in the task that need a value to run properly.virtual-resource-priority= Optional; Virtual resource priority of the task instance. Valid values are any integer between 1 and 20. Defaults to the virtual resource priority defined in the task Details.virtual-resources= Optional; Comma-separated list of <resource-name>:<amount> pairs. For example, VR1:10,VR2:20,...,VRN: N</b> <b>0</b>
<br><br>
<code>virtual</code>
<ul>
<li>If a default virtual resource dependency already exists for a specified virtual resource amount, the virtual resource dependency is updated.
<li> Any virtual resource specified with an amount of <b>0</b> is dropped from the default virtual resource dependencies; if the virtual resource did not exist as a default dependency, the command will fail.
<li> If a default virtual resource dependency does not already exist for a specified virtual resource amount, the virtual resource dependency is added.
</ul></ul>- If a default virtual resource dependency already exists for a specified virtual resource amount, the virtual resource dependency is updated.
- Any virtual resource specified with an amount of 0 is dropped from the default virtual resource dependencies; if the virtual resource did not exist as a default dependency, the command will fail.
- If a default virtual resource dependency does not already exist for a specified virtual resource amount, the virtual resource dependency is added.
|
---|
Example | (All variable=value pairs must be specified within one set of braces.) Panel |
---|
Html bobswift | <pre>uagcmduagcmd ops-task-launch -c config.cfg Html bobswift |
---|
task-name=Windows Task A task-variables={variable1=first value variable2=second value} </pre> |
|
---|
Anchor |
---|
| ops-task-hold |
---|
| ops-task-hold |
---|
|
Put Task on Hold
...