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 - createExecutionTask_1


ExecutionTask - createExecutionTask

Description :

This command creates an execution task for a specified job. This command returns the handle of the execution task.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

jobDBKey

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

Handle to the job.

executionTaskName

String

Name of the execution task you want to create.

executionTaskDesc

String

Description of the execution task.

Example

The following example shows how to create an execution task associated with the job 'snapJob' in the job group '/snapshots'.

Script


JOB_KEY=`blcli SnapshotJob getDBKeyByGroupAndName /snapshots snapJob`

ET_NAME="et-snap"

ET_DESCRIPTION="this execution task created by blcli"

ET_KEY=`blcli ExecutionTask createExecutionTask $JOB_KEY "$ET_NAME" "$ET_DESCRIPTION"`



 

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

BMC Server Automation Command Line Interface 8.3