Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » MobiLink - Getting Started » MobiLink tutorials » Tutorial: Using central administration of remote databases


Lesson 15: Modifying scheduled synchronizations

This lesson assumes you have completed all preceding lessons. See Lesson 1: Creating a consolidated database.

In the last lesson you created a remote task to synchronize the remote database once per minute. In this lesson, you change the synchronization interval to once per hour.

Once a remote task is deployed, the deployed version cannot be modified. Instead, you create a new remote task with the desired modifications, and then you cancel the existing task and deploy the new task to replace it.

 Modify a scheduled synchronization
  1. First, create a new remote task with the desired repeat interval using the existing deployed task as a template.

    1. In the Folders view of Sybase Central under MobiLink 12, expand Central Admin Tutorial, Remote Tasks, Deployed Tasks. Right-click Sync and choose Copy to copy the task to the clipboard.

    2. Right-click Remote Tasks and choose Paste. A window appears asking for you to rename the remote task. Type Sync every hour and click OK.

    3. Right-click the new Sync every hour task and choose Properties. On the Repetition page of the properties window, change the Repeat Every value from 1 minutes to 1 hours and click OK.

  2. Next, cancel the existing remote task that causes synchronization each minute.

    1. In the Folders view, click the deployed version of the Sync task and click the Recipients tab in the right pane.

    2. Right-click the entry in the table for agent AID_JOHN and click Cancel.

  3. Lastly, deploy the new Sync every hour task and assign it to agent AID_JOHN.

    1. Right-click Sync every hour and click Deploy. Click Next.

    2. From the Recipients dropdown list, click Specific Agents and assign the task to agent AID_JOHN. Click Next and then click Next again.

    3. On the Reporting Results and Status page, set If Task Succeeds to Send Only Status Later and set If Task Fails to Send Results And Status Immediately.

    4. Click Finish. Once the Agent receives this new task, it begins to synchronize its remote database once an hour instead of once a minute.

  4. Proceed to Lesson 16: Forcing immediate synchronization.