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 - Client Administration » SQL Anywhere clients for MobiLink » SQL Anywhere clients


Scheduling synchronization

You can set up dbmlsync to synchronize periodically based on rules you define. There are two ways you can set this up:

  • Use the dbmlsync extended option SCHEDULE to initiate synchronization at specific times of the day or week or at regular intervals. In this case, dbmlsync remains running until stopped by the user.

    See Setting up scheduling with dbmlsync options.

  • Use dbmlsync event hooks to initiate synchronization based on logic that you define. This is the best way to implement synchronization at irregular intervals or in response to an event. In this case, you can stop dbmlsync programmatically from your hook code.

    See Initiating synchronization with event hooks.

This method is not available when the Dbmlsync API or the SQL SYNCHRONIZE statement is used.


Setting up scheduling with dbmlsync options
Initiating synchronization with event hooks