.jobs
List all job resources.
Synopsis
.jobs [type=<type>] [enabled | disabled]
Words without brackets are required, [ ] marks optional parts, a | b alternatives, ... a repeatable argument and [,...] a comma separated list.
Description
Prints the names of all Job resources of the Director configuration, one per line, for completion of job= and selection lists. Only jobs allowed by the console’s Job ACL appear, in configuration order. It reads only the configuration.
type= compares only the first letter of its value, case-sensitively, with the job type letter (B Backup, R Restore, V Verify, D Admin, c Copy, g Migrate, O Consolidate, A Archive); so type=Backup works but type=backup returns nothing. enabled and disabled filter as for .clients.
Arguments
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
type= | resource | from .types | Job type. | ||
enabled | keyword | one of: state | Only enabled resources. | ||
disabled | keyword | one of: state | Only disabled resources. |
Examples
List the backup jobs:
.jobs type=Backup
List only disabled jobs:
.jobs disabled