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

JobRun - findLastRunKeyByJobKey

Description :

This command finds the handle of the last job run for a given job at the specific version given in the key.

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 findLastRunKeyByJobKey $JOB_KEY`

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

Comments