Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

ExecutionTask - addOneTimeSchedulingByMaintenanceWindow


ExecutionTask - addOneTimeSchedulingByMaintenanceWindow

Description :

This command adds a one time scheduling by maintenance window to an execution task. This command applies the scheduling to all the target servers defined for the execution task. This command returns the number of schedules.

Return type : Integer

Command Input :

Variable Name

Variable Type

Description

executionTaskDBKey

com.bladelogic.om.infra.model.base.keys.SExecutionTaskKey

Handle to the execution task.

Example

The following example shows how to add a one time scheduling according to the pre-defined maintenance windows for each target.

Script





ET_KEY=`blcli ExecutionTask getDBKeyByGroupAndName /tasks testET`

blcli ExecutionTask addOneTimeSchedulingByMaintenanceWindow $ET_KEY



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.5