Utility - exportLatestBatchJobRun
Utility - exportLatestBatchJobRun
Description :
This command exports the results (job run log) of the latest Batch Job run to a file. You must identify the job by its name and folder.
Return type : java.lang.Void
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
jobGroupName | String | Fully qualified path to the job group that contains the Batch Job. |
jobName | String | Name of the Batch Job whose results you want to export. |
exportFileName | String | Name of the file that holds the export. |
Example
The following example shows how to export the job run log for the latest run of a Batch Job.
Script
blcli Utility exportLatestBatchJobRun "/sampleJobGroup" "sampleJob" "C:/temp/sampleJobResult.csv"
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*