The realtime-sync tool features both an offline mode of operation as well as the ability to schedule an operation to run within PingDataSync server's process. To schedule an operation, supply LDAP connection options that allow this tool 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 tool.

Perform the following steps to schedule a synchronization task:

  1. 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 subcommand.
    $ 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
  2. Run the manage-tasks tool to manage or cancel the task.
    $ bin/manage-tasks --port 7389 \
      --bindDN "uid=admin,dc=example,dc=com" \
      --bindPassword secret