Purpose
The list_jobs command lists jobs defined and stored in the DSC repository. If a specific job is requested, that job definition is displayed. Otherwise, a list of job names matching any provided filters is displayed. If no parameters are provided, a list of jobs (excluding backup repository jobs) is displayed.
Syntax
list_jobs [optional parameters]
Example
dsc list_jobs -n job1
Parameters
- n|name Name
- [Optional] The name of the job definition to display.
- o|owner Owner
- [This parameter is deprecated after release 15.00. You will receive a warning message if you use this parameter.] The owner of the job. Job ownership is used to determine the appropriate privileges given to DSA users.
- s|state State
- [Optional] Enter active or retired. The default is active.
- S|status Status
-
[Optional] The latest status for a job. Enter one of the following:
- running
- completed_successfully
- completed_errors
- failed
- queued
- aborting
- aborted
- new
- not_responding
- warning
- t|type Type
-
[Optional] The type of job. Enter one of the following:
- BACKUP
- RESTORE
- ANALYZE_READ
- ANALYZE_VALIDATE
- B|repository_backup Repository Backup
- [Optional] View repository backup jobs.
- b|bucket BucketNumber
- [Optional] Select a bucket number to display a grouping of data when too many results return to display at once. The command output notifies you if there are more buckets of data to display.
XML File Example
This command does not support an XML file.