# Refresh frequency

Retrain allows you to train your knowledge base with the latest content on it.

For "URL" data sources, you can define a refresh frequency at which you want to retrain it. Frequency offered are:

* Daily
* Weekly
* Monthly

## Domain-level refresh

Enabling this will apply the refresh frequency to all its child pages.&#x20;

* Open the knowledge base
* Click "Domain(s)" button
* Select the frequency from the dropdown

Now, your domain will always be scanned again for new URL(s), and the content of all URL(s) will be scrapped again.

<figure><img src="https://360969599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsrMxU8nO3RjusUiYuXBB%2Fuploads%2Fr5J4vfOQEJy6RpyoEzet%2FCleanShot%202024-08-13%20at%2011.55.54.png?alt=media&#x26;token=72d531e8-8f05-4277-affe-0c629a324611" alt=""><figcaption></figcaption></figure>

## URL-level refresh

Enabling this will apply the refresh frequency to only the selected URL.

* Open the Knowledge base
* Click on the "URL" data source you want to schedule a retrain&#x20;
* Select the frequency from the dropdown

<figure><img src="https://360969599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsrMxU8nO3RjusUiYuXBB%2Fuploads%2FwSYHoHGHjKjNFrSYkTiL%2FCleanShot%202024-08-13%20at%2012.03.06.png?alt=media&#x26;token=9e43736b-ec03-4619-b2c0-b8d4260a1f8e" alt=""><figcaption></figcaption></figure>

You can also multi-select the URL data sources you want to schedule a refresh frequency in bulk.

<figure><img src="https://360969599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsrMxU8nO3RjusUiYuXBB%2Fuploads%2FbGKvCYIlACwpMPD97M7K%2FCleanShot%202024-08-13%20at%2012.03.39.png?alt=media&#x26;token=34ac0399-4a62-40cd-9d9d-371f04ed1214" alt=""><figcaption></figcaption></figure>
