Skip to main content
A newer release of this product is available.

job schedule show-jobs

Contributors
Suggest changes

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.

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
------------  --------- ---------------------  ---------- --------------------
hourly        Cluster   -                      98644      mirror-hourly
weeklylog     Node      node0                  1501       log-rotation
weeklylog     Node      node1                  1498       log-rotation
weeklylog     Node      node2                  1499       log-rotation
weeklylog     Node      node3                  1500       log-rotation
5 entries were displayed.