Skip to main content

job schedule show-jobs

Display the list of jobs by schedule

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The job schedule show-jobs command displays information about jobs that are associated with schedules.

Parameters

{ [-fields <fieldname>, ...]
If you specify the -fields <fieldname>, ... parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.
| [-instance ]}
If you specify the -instance parameter, the command displays detailed information about all fields.
[-name <text>] - Schedule Name
Use this parameter to display information only about the jobs that are associated with the schedule you specify.
[-affinity {Cluster|Node}] - Cluster / Node
Use this parameter to display information only about the jobs that match the affinity value you specify.
[-owner <text>] - Owner
Use this parameter to display information only about the jobs that are owned by the nodes you specify.
[-jobid <integer>] - ID
Use this parameter to display information only about the jobs that match the ID or range of IDs that you specify.
[-jobname <text>] - Job Name
Use this parameter to display information only about the jobs that match the name you specify.
[-scheduleuuid <UUID>] - Schedule Uuid
displays the Uuid of the specific job schedule.

Examples

The following example shows information about schedules that are associated with jobs:

cluster1::> job schedule show-jobs
Name Type Owner Job ID Job Name Schedule Uuid
------------ --------- --------------------- ---------- -------------------- ------------------
hourly Cluster - 98644 mirror-hourly 8bafba5a-ff9a-11eb-8531-005056a75903
weeklylog Node node0 1501 log-rotation 449c070c-ff9a-11eb-8531-005056a75903
weeklylog Node node1 1498 log-rotation 8bb0adca-ff9a-11eb-8531-005056a75903
weeklylog Node node2 1499 log-rotation b15fce61-ff9a-11eb-8531-005056a75903
weeklylog Node node3 1500 log-rotation 8bb14bd2-ff9a-11eb-8531-005056a75903
5 entries were displayed.