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

job schedule interval modify

Contributors
Suggest changes

Modify an interval schedule

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

Description

The job schedule interval modify command modifies an interval schedule. An interval schedule runs jobs at a specified interval after the previous job finishes. Use the job schedule interval show command to display all current interval schedules. See the documentation of job schedule interval show for more information on how interval schedules work.

Modifying one parameter of a schedule's interval does not affect the other parameters. For example, if a schedule's interval is 1 day 12 hours, and you modify the "hours" parameter to 16, the schedule's new interval is 1 day 16 hours. To clear a parameter of the schedule's interval, you must explicitly set that parameter to "0" or "-".

Parameters

[-cluster <Cluster name>] - Cluster

Use this parameter to specify the cluster of an existing interval schedule you want to modify. The local cluster is provided as the default value. In a MetroCluster configuration, the partner cluster can be specified if the local cluster is in switchover state.

[-vserver <vserver name>] - Vserver

Use this parameter to specify the Vserver of an existing interval schedule you want to modify.

-name <text> - Name

Use this parameter with the name of an existing interval schedule to specify the interval schedule you want to modify.

[-days <integer>] - Days

Use this parameter to specify a different "days" value for the schedule's interval.

[-hours <integer>] - Hours

Use this parameter to specify a different "hours" value for the schedule's interval.

[-minutes <integer>] - Minutes

Use this parameter to specify a different "minutes" value for the schedule's interval.

[-seconds <integer>] - Seconds

Use this parameter to specify a different "seconds" value for the schedule's interval.

Examples

The following example sets the schedule named rollingdaily to run every eight hours:

cluster1::> job schedule interval modify -name rollingdaily -hours 8