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.
This lesson assumes you have completed all preceding lessons. See Lesson 1: Creating a consolidated database.
This lesson assumes you have the roles and privileges listed in the Privileges section at the start of this tutorial: Tutorial: Using central administration of remote databases.
Context and remarks
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.
First, create a new remote task with the desired repeat interval using the existing deployed task as a template.
In the Folders view of Sybase Central under MobiLink 16, expand Central Admin Tutorial » Remote Tasks » Deployed Tasks. Right-click Sync and choose Copy to copy the task to the clipboard.
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.
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.
Next, cancel the existing remote task that causes synchronization each minute.
In the Folders view, click the deployed version of the Sync task and click the Recipients tab in the right pane.
Right-click the entry in the table for agent AID_JOHN and click Cancel.
Lastly, deploy the new Sync every hour task and assign it to agent AID_JOHN.
Right-click Sync every hour and click Deploy. Click Next.
From the Recipients dropdown list, click Specific agents and assign the task to agent AID_JOHN. Click Next and then click Next again.
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.
Discuss this page in DocCommentXchange.
|Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0|