# ScheduledSync

When you train Media Server, the Media Server database is updated with new training data. However, Media Server does not use this training data in analysis operations until it has synchronized with the database.

This parameter specifies whether to automatically synchronize with the database according to a schedule. Set this parameter to one of the following values:

- `periodic` - Media Server loads training data when it starts and synchronizes with the database at regular intervals as defined by the SyncInterval parameter.
- `startup` - Media Server loads training data when it starts but does not synchronize with the database at timed intervals.
- `never` - Media Server does not load any training data when it starts and does not synchronize with the database at timed intervals.

TIP: By default, Media Server also synchronizes with the database before beginning a `Process` action. This behavior is controlled by the `SyncDatabase` parameter, which can be set for analysis tasks that use the database.

TIP: You can force Media Server to synchronize with the database at any time by running the following actions:

- SyncAudioMatchClips
- SyncClassifiers (for image classification)
- SyncFaces
- SyncImageComparisonReferences
- SyncImageHashes
- SyncObjectClasses (for object class recognition)
- SyncObjects (for object recognition)
- SyncSpeakers
- SyncVehicleModels

For more information about configuring how Media Server synchronizes with the database, refer to the Media Server Administration Guide.

Type: | String
Default: | Periodic
Required: | No
Configuration Section: | Database
Example: | `ScheduledSync=Startup`
See Also: | SyncInterval

_FT_HTML5_bannerTitle.htm