job history list
The job history list command shows the execution history for a job.
Usage
job history list --j JobName --f FromDateTime --t ToDateTimeRequired | Argument | Description |
---|---|---|
Yes | --j JobName | Specifies the name of the job whose history you want to get. If the job name
contains spaces, enclose the name in quotes. Tip: If you are unsure of the
exact dataflow name you can use the dataflow list command to get a
list of the dataflow names. |
No | --f FromDateTime |
If you want to see the history for a specific date and time range, specify the starting date and time for the range, in the format MM-dd-yyyy HH:mm:ss. For example, December 31, 2014 1:00 PM would be specified as 12-31-2014 13:00:00. When you specify a date and time range, the history list will include jobs that started execution on or after the date you specified in the --f argument and before the date you specify in the --t argument. If you omit this argument the history will include jobs that started execution on the current date. |
No | --t ToDateTime |
If you want to see the history for a specific date and time range, specify the ending date and time for the range, in the format MM-dd-yyyy HH:mm:ss. For example, December 31, 2014 1:00 PM would be specified as 12-31-2014 13:00:00. When you specify a date and time range, the history list will include jobs that started execution on or after the date you specified in the --f argument and before the date you specify in the --t argument. If you omit this argument the history will include all jobs that started execution on or after the date specified in the --f argument. |
Example
This example gets the status of the job named "My Job".
job history list --j "My Job"