Purpose
The job_status command gets the latest status for a job with the given name and displays it on the screen. If the job is running, a detailed status message is displayed. If the job is not running, the status of the last run for that job is displayed.
This command displays the latest status for a job in the screen.
Syntax
dsc job_status -n|-name Name -I|-job_execution_id JobExecutionID
Example
dsc job_status -n job1 -I job1ExecutionId
Parameters
- n|name Name
- The name of the job on which to perform the action. Must be unique for each job.
- I|job_execution_id Job Execution ID
-
[Optional] The execution ID for the job. Must be an integer.
The ID must match a version number listed in the list_save_sets command output for the same job.
- B|repository_backup Repository Backup
- [Optional] Flag to return status on repository backup jobs.
XML File Example
This command does not support an XML file.