Create a replication job schedule
-
PDF of this doc site
-
Cluster administration
-
Volume administration
-
Logical storage management with the CLI
-
-
NAS storage management
-
Configure NFS with the CLI
-
Manage NFS with the CLI
-
Manage SMB with the CLI
-
Manage file access using SMB
-
-
-
Security and data encryption
-
Data protection and disaster recovery
-
![](https://docs.netapp.com/common/images/pdf-zip.png)
Collection of separate PDF docs
Creating your file...
Whether you are replicating data from Element to ONTAP or from ONTAP to Element, you need to configure a job schedule, specify a policy, and create and initialize the relationship. You can use a default or custom policy.
You can use the job schedule cron create
command to create a replication job schedule. The job schedule determines when SnapMirror automatically updates the data protection relationship to which the schedule is assigned.
You assign a job schedule when you create a data protection relationship. If you do not assign a job schedule, you must update the relationship manually.
-
Create a job schedule:
job schedule cron create -name job_name -month month -dayofweek day_of_week -day day_of_month -hour hour -minute minute
For
-month
,-dayofweek
, and-hour
, you can specifyall
to run the job every month, day of the week, and hour, respectively.Beginning with ONTAP 9.10.1, you can include the Vserver for your job schedule:
job schedule cron create -name job_name -vserver Vserver_name -month month -dayofweek day_of_week -day day_of_month -hour hour -minute minute
The following example creates a job schedule named
my_weekly
that runs on Saturdays at 3:00 a.m.:cluster_dst::> job schedule cron create -name my_weekly -dayofweek "Saturday" -hour 3 -minute 0