1. Use the import-ldif tool to import data from an LDIF file at a scheduled time. To specify a time in the UTC time zone, include a trailing ā€œZā€. Otherwise, the time will be treated as a local time in the time zone configured on the server. Make sure the Directory Server is online before running this command.
    $ bin/import-ldif --task \
      --hostname server1 \
      --port 389 \
      --bindDN uid=admin,dc=example,dc=com \
      --bindPassword password \
      --backendID userRoot \
      --ldifFile /path/to/data.ldif \
      --start 20111026010000 \
      --completionNotify import-complete@example.com \
      --errorNotify import-failed@example.com
    Import task 2011102617321510 scheduled to start Oct 26, 2011 1:00:00 AM CDT
  2. Confirm that you successfully scheduled your import task using the manage-tasks tool to view a summary of all tasks on the system.
    $ bin/manage-tasks --summary
    ID	           Type   Status 
    ----------------------------------------------- 
    2011102617321510 Import Waiting on start time
  3. Use the manage-tasks tool to monitor the progress of this task. Use the task ID of the import task. If you cannot find the task ID, use the --summary option to view a list of all tasks scheduled on the Directory Server.
    $ bin/manage-tasks --info 2011102617321510
    Task                    Details 
    -----------------------------------------------------
    ID                      2011102617321510
    Type                    Import
    Status                  Waiting on start time
    Scheduled Start Time    Oct 26, 2011 1:00:00 AM CDT
    Actual Start Time 
    Completion Time 
    Dependencies Failed     None
    Dependency Action       None
    Email Upon Completion   admin@example.com 
    Email Upon Error        admin@example.com
     
    Import        Options 
    ---------------------------- 
    LDIF File	 /path/to/data.ldif 
    Backend ID	userRoot