The next step is to configure the MobiLink Agent to synchronize its remote database at regular intervals. You do this by creating a remote task that executes based on a schedule and synchronizes the database each time it executes.
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.
Contexte et remarques
This task is different from the other tasks you have created because the other tasks are executed only once. This tasks remains on the remote device and executes at regular intervals until you stop it.
Create a new remote task. In the Folders view of Sybase Central under MobiLink 16, expand Central Admin Tutorial. Right-click Remote Tasks and click New » Remote Task.
The Create Remote Task Wizard appears.
On the Welcome page, type Sync in the Name field. Check This task requires or creates a remote database and select the remote schema name Tutorial Application v1.0. This identifies the remote database that the database actions in this task acts on. Click Next.
On the Trigger Mechanisms page, select Based on a schedule and click Next.
Accept the defaults on the Start Time And Date page. This allows the task to start running immediately. Click Next.
On the Repetition page, check Repeat every and set the interval to one minute. Click Finish to complete the wizard.
Click the newly-created Sync task in the Folders view.
Add a single command to the task to cause a synchronization.
On the Commands tab, set the Command type for the first command to Synchronize.
For Synchronization profile, type tutorial1_JOHN. This is the synchronization profile that was created when you deployed the synchronization model.
The synchronization task is now complete. Right-click Sync and click Deploy. Click Next.
From the Recipients dropdown, 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.
Since this task repeats frequently, it is a good idea to limit the feedback requested to improve performance.
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0|