BatchJob - deleteJobByGroupAndName


BatchJob - deleteJobByGroupAndName

Description :

This command deletes a Batch Job and all of its dependents. You must identify the job group where the job is stored and the name of the job.

Return type : void

Command Input :

Variable Name

Variable Type

Description

parentGroup

String

Fully qualified path to the job group where the job is stored.

jobName

String

Name of the Batch Job.

Example

The following example shows how to delete a Batch Job.

Script


# Name of the existing Batch Job.

BATCHJOB_NAME="batchjob1"

# Job group in which the Batch Job is stored.

BATCHJOB_GROUP="/parent/group1"

`blcli BatchJob deleteJobByGroupAndName $BATCHJOB_GROUP $BATCHJOB_NAME`



 

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

BMC Server Automation Command Line Interface 8.7