ExecutionTask - addOverriddenJobProperty

ExecutionTask - addOverriddenJobProperty

Description :

This command overrides a job's property with a specified value through a given execution task.

Return type : void

Command Input :

Variable Name

Variable Type

Description

etKey

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

Handle to the execution task.

propertyName

String

Name of the property to override its value.

propertyValue

String

Value of the property.

Example

The following example shows how to override a job's property with a different value through the execution task. The user must make sure that the specified value matches to the type of the property in order it will be override. In this example we will override the property JOB_TIMEOUT with the value 5 on execution task 'tstET'.

Script





ET_KEY=`blcli ExecutionTask getDBKeyByGroupAndName /tasks tstET` 

blcli ExecutionTask addOverriddenJobProperty $ET_KEY JOB_TIMEOUT 5 



Was this page helpful? Yes No Submitting... Thank you

Comments