Scheduling your AWS DataSync task
You can set up an AWS DataSync task schedule to periodically transfer data between storage locations.
A scheduled task runs at a frequency that you specify, with a minimum interval of 1 hour. For example, your task could run every Sunday and Wednesday at 12:00 PM UTC. Here's how you'd configure this schedule with a cron expression:
0 12 ? * SUN,WED *
Important
You can't use a cron expression for scheduling a task to run at an interval faster than 1 hour.
For information about cron expression syntax, see the Amazon EventBridge User Guide.
Configuring a task schedule
You can schedule how frequently your task runs by using the DataSync console or API.
The following instructions describe how to configure a schedule when creating a task. You can modify the schedule later when editing the task.
Open the AWS DataSync console at https://console.aws.amazon.com/datasync/
. In the left navigation pane, expand Data transfer, then choose Tasks, and then choose Create task.
-
Configure your task's source and destination locations.
For more information, see Where can I transfer my data with AWS DataSync?
-
For schedule Frequency, do one of the following:
-
Choose Not scheduled if you don't want to schedule your task to run periodically.
-
Choose Hourly and choose the minute in the hour that the task should run. The task runs every hour on the specified minute.
-
Choose Daily and enter the UTC time that you want the task to run in the format HH:MM. This task runs every day at the specified time.
-
Choose Weekly and the day of the week and enter the UTC time the task should run in the format HH:MM. This task runs every week on the specified day at the specified time.
-
Choose Days of the week, choose the specific day or days, and enter the UTC time that the task should run in the format HH:MM. This task runs on the days and the time that you specified.
-
Choose Custom if you want to use a custom cron expression to run your task, with a minimum interval of 1 hour. Then enter your expression in the Cron expression box.
-
You can configure how DataSync verifies data by using the Schedule
parameter with any of the following operations: