Skip to main content

Commands for managing job schedules

Many tasks—for instance, volume Snapshot copies—can be configured to run on specified schedules. Schedules that run at specific times are called cron schedules (similar to Linux cron schedules). Schedules that run at intervals are called interval schedules. You use the job schedule commands to manage job schedules.

Job schedules do not adjust to manual changes to the cluster date and time. These jobs are scheduled to run based on the current cluster time when the job was created or when the job most recently ran. Therefore, if you manually change the cluster date or time, you should use the job show and job history show commands to verify that all scheduled jobs are queued and completed according to your requirements.

If the cluster is part of a MetroCluster configuration, then the job schedules on both clusters must be identical. Therefore, if you create, modify, or delete a job schedule, you must perform the same operation on the remote cluster.

If you want to...Use this command...
Display information about all schedulesjob schedule show
Display the list of jobs by schedulejob schedule show-jobs
Display information about cron schedulesjob schedule cron show
Display information about interval schedulesjob schedule interval show
Create a cron schedulejob schedule cron create
Create an interval schedulejob schedule interval create

You must specify at least one of the following parameters: -days, -hours, -minutes, or -seconds.

Modify a cron schedulejob schedule cron modify
Modify an interval schedulejob schedule interval modify
Delete a schedulejob schedule delete
Delete a cron schedulejob schedule cron delete
Delete an interval schedulejob schedule interval delete