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.

JobRun - findLastRunKeyByJobKeyIgnoreVersion

JobRun - findLastRunKeyByJobKeyIgnoreVersion

Description :

This command finds the handle of the last job run for a given job key ignoring the version.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

jobKey

DBKey

Key for the job.

Example

The following example shows how to find the run key for the last run of an Audit Job:

Script


JOB_GROUP=/audits

JOB_NAME=audit_nocdb





JOB_KEY=`blcli AuditJob getDBKeyByGroupAndName $JOB_GROUP $JOB_NAME`

RUN_KEY=`blcli JobRun findLastRunKeyByJobKeyIgnoreVersion $JOB_KEY`

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

Comments