job schedule cron show
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
Show cron schedules
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The job schedule cron show
command displays information about cron schedules. A cron schedule runs a job at a specified time on specified days.
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. [-cluster <Cluster name>]
- Cluster-
Selects the cron schedules that match this parameter value.
[-vserver <vserver name>]
- Vserver-
Selects the cron schedules that match this parameter value. These job schedules can only be used by consumers in that Vserver.
[-name <text>]
- Name-
Selects the cron schedules that match this parameter value.
[-month <cron_month>,…]
- Month-
Selects the cron schedules that match this parameter value. Valid values are
January
,February
,March
,April
,May
,June
,July
,August
,September
,October
,November
,December
, orall
. [-dayofweek <cron_dayofweek>,…]
- Day of Week-
Selects the cron schedules that match this parameter value. Valid values include
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
, orall
. [-day <cron_dayofmonth>,…]
- Day-
Selects the cron schedules that match this parameter value. Valid values range from
1
to31
. [-hour <cron_hour>,…]
- Hour-
Selects the cron schedules that match this parameter value.
[-minute <cron_minute>,…]
- Minute-
Selects the cron schedules that match the minute or range of minutes that you specify.
[-description <text>]
- Description-
Selects the cron schedules that match this parameter value.
Examples
The following example displays information about all current cron schedules:
cluster1::> job schedule cron show Cluster Vserver Name Description ------------- ----------- ----------- ----------------------------------------------------- cluster1 data_vs_1 5min @:00,:05,:10,:15,:20,:25,:30,:35,:40,:45,:50,:55 8hour @2:15,10:15,18:15 weekly Sun@0:15
The following example displays information about the cron schedule named weekly:
cluster1::> job schedule cron show -name weekly -instance Cluster: cluster1 Vserver: data_vs_1 Name: weekly Month: - Day of Week: Sunday Day: - Hour: 0 Minute: 15 Description: Sun@0:15