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

SQL Anywhere 12.0.0 (Français) » MobiLink - Getting Started » MobiLink Tutorials » Tutorial: Using central administration of remote databases


Lesson 16: Modify scheduled synchronizations

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, then you cancel the existing task and deploy the new task to replace it.

 ♦  To 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, under Central Admin Tutorial » Remote Tasks » Deployed Tasks right click Sync and select Copy to copy the task to the clipboard.

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

    3. Right-click on the new Sync every hour task and select Properties. On the Repetition page of the property sheet, 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 on the deployed version of the Sync task and select the Recipients tab.

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

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

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

    2. From the Recipients dropdown, choose Specific Agents and assign the task to agent AID_JOHN. Click Next then 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.