---
title: "Set a library's sync schedule"
description: "Set the days and time a NAS library syncs automatically, and learn what the schedule does when a run is missed, a task is already running, or the NAS can't be reached"
canonical_url: "https://docs.ardge.com/en/knowledge/doclake/sync-schedule"
---
# Set a library's sync schedule

> Set the days and time a NAS library syncs automatically, and learn what the schedule does when a run is missed, a task is already running, or the NAS can't be reached

## Overview

**Sync Schedule** makes a NAS library sync automatically on the days and at the time you choose. Each sync processes files that were added or changed in the source folders, and removes files from the library that were deleted on the NAS.

Schedules apply only to libraries created **From NAS**. Manual-upload libraries have no schedule.

A new NAS library has its schedule turned on by default, set to every Monday, Wednesday, and Friday at 02:00.

## What you'll learn

- Change the days and time a NAS library syncs
- Pause or resume automatic sync
- The situations in which a scheduled sync doesn't run

**Estimated time: about 5 minutes**

## Applies to

- DocLake 1.0.0 and later

## Before you begin

- Your account is a built-in **Admin**, or your role has **RW** permission on the **Library** page
- You have a library created **From NAS**

## Step 1: Open the library's Settings tab

1. Go to the **Admin Center**, then **Data** → **Library**
2. Click the library to set up and switch to the **Settings** tab

![The Settings tab of a NAS library](https://docs.ardge.com/screenshots/knowledge/en/doclake/sync-schedule/step-1.webp)

## Step 2: Set the sync days and time

1. Under **Sync Schedule**, check that **Enable** is on
2. Under **Days**, select the days to sync — at least one
3. Under **Time**, enter the sync time in `HH:MM` format
4. Check that the summary below the fields reads as you expect, for example "**Syncs every Mon, Wed, Fri at 02:00.**" With all seven days selected, it reads "**Syncs every day at 02:00.**"
5. Click **Save**

On success, the page shows "**Saved**". The **Next Schedule** column of the **Library** list shows when the next sync runs.

![The Sync Schedule enable toggle, days, and time](https://docs.ardge.com/screenshots/knowledge/en/doclake/sync-schedule/step-2.webp)

<note>

**The time follows your browser's time zone:**

The **Time** field shows and sets the time in your browser's time zone. Admins in different time zones see different times, but the sync runs at the same moment.

</note>

<tip>

**Schedule syncs outside busy hours:**

While a sync runs, you can't upload files to that library or click **Reindex** again. Syncing many files also uses NAS and ARX resources, so nights or weekends are best.

</tip>

## Step 3: Pause or resume automatic sync

To pause automatic sync, turn off **Enable** and click **Save**. The **Next Schedule** column of the **Library** list no longer shows a time.

While it's paused, you can still sync by hand at any time with **Reindex** — see [Reindex and cancel indexing](https://docs.ardge.com/en/knowledge/doclake/indexing/resync).

## When a scheduled sync doesn't run

| Situation | Result |
| --- | --- |
| DocLake wasn't running at the scheduled time (for example, ARX was off or restarting) and came back more than 90 seconds late | That run isn't made up. The next scheduled run goes ahead as usual |
| The library already had an index task running or queued at the scheduled time | That run is skipped. The next scheduled run goes ahead as usual |
| The NAS couldn't be reached at the scheduled time | That run's task is recorded as **Failed** and isn't retried automatically |
| **Enable** is off | Nothing runs |

For a failure caused by an unreachable NAS, click **Reindex** once the connection is back to run the missed sync.

## Troubleshooting

| Symptom | Likely cause | What to do |
| --- | --- | --- |
| `Select at least one day.` | No day is selected under **Days** | Select at least one day |
| The time you entered reverts to its old value | The **Time** isn't between `00:00` and `23:59` | Enter a valid time |
| The scheduled time passed, but no new task appears on the **Index Tasks** tab | A task was already running, DocLake wasn't running then, or **Enable** is off | See "When a scheduled sync doesn't run" above |
| A scheduled task's **Index Status** is **Failed** | The NAS couldn't be reached during the sync | Check the data source's status — see [Connect a NAS shared folder as a data source](https://docs.ardge.com/en/knowledge/doclake/nas-data-source) |

## Next steps

To sync right away instead of waiting for the schedule, see [Reindex and cancel indexing](https://docs.ardge.com/en/knowledge/doclake/indexing/resync).

## Related articles

- [What do index task statuses mean, and what to do when indexing fails?](https://docs.ardge.com/en/knowledge/doclake/indexing/task-statuses)
- [Should a library use "From NAS" or "Manual Upload"?](https://docs.ardge.com/en/knowledge/doclake/nas-or-upload)
- [What does a library need after you change a data source?](https://docs.ardge.com/en/knowledge/doclake/edit-data-source)


## Sitemap

See the full [sitemap](https://docs.ardge.com/sitemap.md) for all pages.
