CodeTwo Base.title

Configuring scheduled synchronization in Exchange Sync

Problem:

How to configure scheduled synchronization in Exchange Sync.

Solution:

If you do not use CodeTwo Exchange Sync too often, do not need to synchronize your data all the time or want to save some resources scheduling is a solution for you.

  1. After installing and configuring CodeTwo Exchange sync, run your Task Scheduler on Microsoft Exchange Server: Start, Search(...), task. You should find the Task Scheduler. Click on the program name to run it (Fig. 1).

    249-1
    Fig. 1. Task Scheduler in the search results.

  2. After turning on the Task Scheduler you need to set up two tasks. Click on Create Task (Fig. 2).

    249-2
    Fig. 2. Create Task button in Task Scheduler.

  3. In the task creation window, General tab, field Name enter a name for the task. Let's call it Sync Start. Select the option Run whether user is logged or not (Fig.2).

    249-3
    Fig. 3. Creating a new task.

  4. Next, go to the Triggers tab and click the New button. A new window should pop-up, select a time when syncing service should be started, for example once a day at 12.00pm from 19th of July (Fig. 4). You are free to customize these settings. Click OK to apply changes.

    249-4
    Fig. 4. Customizing scheduling settings.

  5. In the next tab - Actions click New, choose an action Start a program and in the field Program/script input 'net start C2ExchangeSync' (Fig.5). Confirm changes clicking OK, and answer Yes to the next question.

    249-5
    Fig. 5. Adding a service starting script.

  6. In the other tabs (Conditions and Settings) you can define additional settings. After confirming by clicking OK and entering a password for a currently logged in user the new task will be visible on a task list (Fig. 6).

    249-6
    Fig. 6. Our new task in the scheduler.

Now, you can go through this manual all over again setting up another task that will be stopping previously started service after some time. You can call it Sync Stop, set up stopping time e.g. one hour later and in the Program/script (Fig.5) tab input 'net stop C2ExchangeSync'.

In that case C2ExchangeSync would be started at 12:00pm every day and stopped one hour later.

  • Applies to: CodeTwo Exchange Folders CodeTwo Exchange Sync CodeTwo Public Folders 5.x
  • Categories: How-To
  • Last modified: 2014-10-10
  • Created: 2012-07-18
  • ID: 249
  • Keywords: schedule, service, defining, calendar, starting, exchange, sync, data, synchronizing, syncing, script, stopping, enforcing
Our Clients: