beautypg.com

Scheduling synchronization, Scheduling synchronization 137 – Google Apps Directory Sync Administration Guide User Manual

Page 137

background image

Synchronization

137

Scheduling Synchronization

Once you have successfully run a manual synchronization, you can set up
automatic synchronization. Use existing third-party scheduling software to
automate synchronization.

In most cases, scheduled synchronization runs every one to six hours. The exact
timing will vary based on the number of users you have and how often you need to
update them. A large company with many users changing frequently may need to
run Directory Sync multiple times daily, while a small company with few changes
may not need to run the utility more than once a week.

The exact method to schedule this task depends on the operating system in which
Directory Sync is installed. In Microsoft Windows, use Scheduled Tasks. In Linux,
use

cron

. Steps for how to do this are listed below. You can also use any other

scheduling software that can launch commands from the command line interface.

Important:

When scheduling synchronization, be sure to schedule regular use of

the

checkforupdate.exe

command as well, so that you can regularly check for

new versions of Google Apps Directory Sync.

In Microsoft Windows, schedule synchronization using Scheduled Tasks.

Note:

These steps apply to most common Microsoft Windows configurations.

Scheduled Tasks is a third-party product and is not supported directly by the
Google (or Postini) team. In the event of a Scheduled Tasks issue, contact your
Windows administrator.

-g, --groups

Do not analyze groups. Use this option if you
want to synchronize users, but not groups.

-h,--help

View this information and exit.

-l,--loglevel [level]

Override the default and/or configured log
level with the specified value. Valid values (in
increasing order of verbosity) are FATAL,
ERROR, WARN, INFO, DEBUG, and TRACE.

In most cases, the recommended log level is
INFO.

-s, --sharedcontacts

Do not analyze shared contacts.

Note:

Do not use this option. It is intended for

other versions of Directory Sync, and will have
no effect.

-u, --users

Do not analyze users. Use this option if you
want to synchronize groups, but not users.

-v

Display short application version information.

Option

Values