NSHScriptJob - findByGroupAndName


NSHScriptJob - findByGroupAndName

Description :

Finds a job given the job name and the full path to the parent group This command returns a job object.

Return type : com.bladelogic.om.infra.model.job.Job

Command Input :

Variable Name

Variable Type

Description

groupName

String

Fully qualified group name

jobName

String

Job name

Example

The following example shows how to retrieve the NSH Script job object by specifying the job group and job name.

Script

JOB_GROUP_NAME="/NSHScriptJobs"

JOB_NAME ="NSHScriptJob"

NSH_SCRIPT_JOB_OBJECT=blcli NSHScriptJob findByGroupAndName $JOB_GROUP_NAME $JOB_NAME


 

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

TrueSight Server Automation Command Line Interface 22.2