JobRun - showBatchJobRunStatusByRunId


JobRun - showBatchJobRunStatusByRunId

Description :

This command displays the following information about a particular running Batch Job:

  • Name of the Batch Job
  • Start time
  • Status
  • Total number of finished or running jobs relative to the total number of jobs this Batch Job needs to process. This is expressed in the format x/y, where y is the total number of jobs to be processed, and x is the total number of jobs that are currently running or have already finished.
  • Child Job
  • Start time
  • Status

As input, this command requires a job runID. You can get a runID by using commands such as findAllRunKeysByJobKey and jobRunKeyToJobRunId .

Return type : java.lang.Void

Command Input :

Variable Name

Variable Type

Description

runId

Integer

The run ID of the Batch Job.

Example

The following example shows how to obtain information about a particular running Batch Job.

Script





blcli JobRun showBatchJobRunStatusByRunId 2001044



 

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