---
title: Automatic content synchronization
related:
  - https://docs.kentico.com/k8/deploying-websites/content-staging/synchronizing-the-content.md
  - https://docs.kentico.com/k8/configuring-kentico/scheduling-tasks.md
  - https://docs.kentico.com/k8/custom-development/handling-global-events.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

You can set up the system to automatically synchronize changes from the staging environment to the target server, without waiting for approval from administrators.

## Scheduling synchronization of document changes

To regularly synchronize document staging tasks, configure the **Content synchronization** [scheduled task](https://docs.kentico.com/k8/configuring-kentico/scheduling-tasks.md):

1. Open the **Scheduled tasks** application.
2. Select the **Site** whose documents you want to synchronize.
3. Edit () the **Content synchronization** task.
4. Select the **Task enabled** check box.
5. Schedule the task (set the Period, Start time, Every, Between, Days properties).
6. Click **Save**.

> **Info:** The scheduled task **only synchronizes document changes**. You cannot use the default _Content synchronization_ task to synchronize changes of custom table data or objects.

## Automatically synchronizing tasks using event handlers

Developers can leverage the API and event handlers to automatically synchronize any type of staging tasks according to custom requirements.

See [Automatically synchronizing staging and integration tasks](https://docs.kentico.com/k8/custom-development/handling-global-events/automatically-synchronizing-staging-and-integration-tasks.md) to learn more.
