Schedule automatic sync of deleted items
Overview
If you have the SiteSync module installed and configured, you can setup automatic sync of deleted items. In this way, you do not have to manually remove deleted content from your site.
You can specify for how long these items are kept before they are removed and at what interval the sync process should be executed.
Procedure
To schedule the process, perform the following:
- In Sitefinity CMS backend, navigate to Administration » Settings » Advanced » SiteSync » Automatic sync.
- Select Enabled automatic sync of deleted items to enable the process.
- In Time tolerance before syncing deleted items, enter the number of days for which deleted items are kept before the automatic process syncs and removes them.
Set the time to0if you want to sync items with the first scheduled automatic sync task. - In Schedule automatic sync of deleted items, enter the time and the day when the automatic sync task will be executed using a Cron expression.
For example, if you enter0 13 * * 1, the task is performed every Monday at 1 pm.
The default value is0 * * * *, which means the sync is performed every hour. - Click Save changes.
Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.
Get started with Integration Hub | Sitefinity Cloud
This free lesson teaches administrators, marketers, and other business professionals how to use Sitefinity Integration Hub to create automated workflows between Sitefinity and other business systems.
Web Security for Sitefinity Administrators
This free lesson teaches administrators the basics about protecting your Sitefinity instance and your sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
Foundations of Sitefinity ASP.NET Core Development
The free on-demand video course teaches developers how to use Sitefinity ASP.NET Core and take advantage of its decoupled architecture and modern development model.