JobRun - getStartTimeByRunKey
JobRun - getStartTimeByRunKey
Description :
This command gets the start time for a job run. You must provide a handle identifying the job run.
This command provides the start time in Java date format. For example, a job start time of 8:41:11 AM on 5 Aug 2005 for a client located in the Eastern time zone is displayed as -- Fri Aug 05 08:41:11 EDT 2005. See getEndTimeByRunKey for a similar command that provides the start time in Java's SimpleDateFormat.
You can use any of the following to get the jobRunKey:
Return type : java.lang.Object
Command Input:
Variable Name | Variable Type | Description |
---|---|---|
jobRunKey | DBKey | Handle identifying a particular job run. |
Example
blcli JobRun getStartTimeByRunKey DBKey:SJobRunModelKeyImpl:623-2036509
Sample output: Thu Mar 05 01:28:21 IST 2020
Also, see JobRun findAllRunKeysByJobKey for one more way to use this command.
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Raised an internal defect to track the following 'Was This Page Helpful' comment:
Could we please have examples of the output? Reading this I can't really tell whether the result is 1 time for the job. Or multiple times, one for each target. Is 'client' above referring to the job targets? or the client I'm connecting from?
https://jira.bmc.com/browse/DRBLG-120708