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

JobRun - getEndTimeByRunKey

Description :

This command gets the end time for a job run. You must provide the handle for the job run.

This command provides the end time in Java date format. For example, a job end 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 end time in Java's SimpleDateFormat.

You can use any of the following to get the jobRunKey:

JobRun findLastRunKeyByJobKey

JobRun findRunKeyById

Return type : java.lang.Object

Command Input :

Variable Name

Variable Type

Description

jobRunKey

DBKey

Handle identifying a particular job run.

Example

See JobRun findAllRunKeysByJobKey for an example showing one way to use this command. Although that example uses the getStartTimeByRunKey command, you can use getEndTimeByRunKey instead.

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

Comments