HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

Scheduled synchronization

This topic describes how to work with scheduled content synchronization to ensure that everything in the Optimizely GraphQL querying service is up-to-date.

Scheduled synchronization

The synchronization jobs can be started from the Optimizely Content Management System (CMS) Admin view whenever all of the content on the site needs to be resynchronized.

This job can be run after you have installed the NuGet packages, updated the site configuration files, and the new site build has been deployed. For details on how to do this, see the guide for installing and setting up Content Graph.

Event-driven synchronization ensures that the GraphQL schema is updated in real-time after you have created, updated or deleted content or a content type. However, you can also schedule the job to recur on a specific frequency or manually trigger the job to begin immediately. While event-driven synchronization is the preferred method to maintain sync parity between your site and the Content Graph service, there are cases where a scheduled or manual job run may be necessary.

You can configure the settings for the scheduled sync job as follows:

  1. From the CMS Admin view by clicking the Admin tab, Scheduled Jobs -> Content type indexing job.

  1. By default, scheduled sync is inactive. To enable it, click the Active checkbox.
  2. Specify a time interval (seconds, minutes, hours, days and so forth) and a number of intervals to wait on the Scheduled job interval line. For example, enter "24" in the text box and select "hours" from the dropdown menu to schedule the job once every day.
  3. Click Save.

You can also manually start or stop a job by clicking Start Manually or Stop Job.