Schedule a real-time sync as a task
About this task
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:
Steps
-
Use the
--startoption with therealtime-synccommand 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--stopoption.$ 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-promptSet StartPoint task 2009072016103807 scheduled to start Jul 21, 2016 12:01:00 AM CDT
-
Run the
manage-taskscommand to manage or cancel the task.$ bin/manage-tasks --port 7389 \ --bindDN "uid=admin,dc=example,dc=com" \ --bindPassword secret