ExecutionTask - clearTargetServers
ExecutionTask - clearTargetServers
Description :
This command clears all target servers from an execution task. This command returns a handle to 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 servers from execution task tstET in job group /tasks.
Script
ET_KEY=`blcli ExecutionTask getDBKeyByGroupAndName /tasks tstET`
ET_KEY=`blcli ExecutionTask clearTargetServers $ET_KEY`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*