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.
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.
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
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |