The realtime-sync command features both an offline mode of operation as well as the ability to schedule an operation to run within the PingDataSync server's process. To schedule an operation, supply LDAP connection options that allow this command to communicate with the server through its task interface. Tasks can be scheduled to run immediately or at a later time. Once scheduled, tasks can be managed using the manage-tasks command.
Perform the following steps to schedule a synchronization task:
Use the --start option with the realtime-sync
command to schedule a start for the synchronization topology. The following command
will set the start time at July 21, 2016 at 12:01:00 AM. The scheduled task can be
stopped with the--stop option.
$ bin/realtime-sync set-startpoint \ --pipe-name "sun-to-ds-sync-pipe" \ --port 389 \ --bindDN "uid=admin,dc=example,dc=com" \ --bindPassword secret \ --start 20160721000100 \ --no-prompt
Set StartPoint task 2009072016103807 scheduled to start Jul 21, 2016 12:01:00 AM CDT
Run the manage-tasks command to manage or cancel the task.
$ bin/manage-tasks --port 7389 \ --bindDN "uid=admin,dc=example,dc=com" \ --bindPassword secret