# CData Sync: Schedule Sequential Replication Tasks

**URL:** <https://community.cdata.com/t/cdata-sync-schedule-sequential-replication-tasks/410>\
**Category:** Getting started\
**Tags:** article, api, cdata-sync\
**Created:** [September 21, 2023, 10:53pm UTC](https://community.cdata.com/t/cdata-sync-schedule-sequential-replication-tasks/410 "2023-09-21T22:53:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerodj-cdata](https://sea3.discourse-cdn.com/cdata/user_avatar/community.cdata.com/jerodj-cdata/32/7_2.png) [@jerodj-cdata](https://community.cdata.com/u/jerodj-cdata)\
**Post date:** [September 21, 2023, 10:53pm UTC](https://community.cdata.com/t/cdata-sync-schedule-sequential-replication-tasks/410/1 "2023-09-21T22:53:43Z")

</div>

While CData Sync has built-in scheduling for repeating jobs at specific intervals, you may want to trigger some replication tasks only after others have completed. With CData Sync’s event API, you can do this easily.

1. You’ll first need to generate a Sync Authtoken. In CData Sync, navigate to Settings \> Users \> Add User. Create a user with at least the Job Operator role and make sure the “API Access” checkbox is enabled.  

2. Make note of the Authtoken, saving it in a secure location for future use.

3. Navigate to the first Job you want to run and click the Events tab.

4. Under Post-Job Events, paste the following scripting snippet on line 12. Replace “JobName” with the name of the job you wish to run next. Replace “123456789” with the Authtoken from Step 2.

5. Repeat step 4 for the other jobs you want to run sequentially, using the same Authtoken for each job.

### Free trial & more information

Visit our [CData Sync page](https://www.cdata.com/sync) to read more information about CData Sync. To try out scheduling jobs yourself, [download a free 30-day trial!](https://www.cdata.com/sync/download/) As always, our world-class [Support Team](https://www.cdata.com/support/submit.aspx) is ready to answer any questions you may have.
