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

job schedule delete

Contributors
Suggest changes

Delete a schedule

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

Description

The job schedule delete command deletes a schedule. Use the job schedule show command to display all current schedules.

You cannot delete any schedules that are in use by jobs. Use the job schedule show-jobs command to display jobs by schedule.

You cannot delete any schedules that are referenced by:

  • Volume Snapshot copy policy entries

  • SnapMirror entries

  • SIS policy entries

  • configuration backup settings

You must remove all references to a schedule before you can delete it. If you attempt to delete a schedule that is referenced, an error message will list which entries reference the schedule you want to delete. Use the show command for each of the items listed by the error message to display which entries reference the schedule. You may need to use the -instance parameter to display more detail.

Parameters

[-cluster <Cluster name>] - Cluster

This parameter specifies the name of the cluster on which you want to delete a schedule. By default, the schedule is deleted from the local cluster. In a MetroCluster configuration, the partner cluster can be specified if the local cluster is in switchover state.

-name <text> - Schedule Name

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

Examples

The following example deletes a schedule named overnightbackup:

cluster1::> job schedule delete -name overnightbackup