ExecutionTask - clearTargetGroups
ExecutionTask - clearTargetGroups
Description :
This command clears all target server groups from an execution task. This command returns a handle of the updated execution task.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
etKey | DBKey | Handle to the execution task you want to update. |
Example
The following example shows how to remove all target server groups from execution task tstET in job group /tasks.
Script
ET_KEY=`blcli ExecutionTask getDBKeyByGroupAndName /tasks tstET`
ET_KEY=`blcli ExecutionTask clearTargetGroups $ET_KEY`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*