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_1


ExecutionTask - addOneTimeSchedulingByMaintenanceWindow

Description :

This command adds a one time scheduling by maintenance window to an execution task. This command applies the scheduling to a specific target server. 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.

targetServerName

String

Name of the target server.

Example

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

Script





ET_KEY=`blcli ExecutionTask getDBKeyByGroupAndName /tasks testET`

blcli ExecutionTask addOneTimeSchedulingByMaintenanceWindow $ET_KEY specific-target-server-name



 

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

BMC Server Automation Command Line Interface 8.5