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:

  1. In Sitefinity CMS backend, navigate to Administration » Settings » Advanced » SiteSync » Automatic sync.
  2. Select Enabled automatic sync of deleted items to enable the process.
  3. 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 to 0 if you want to sync items with the first scheduled automatic sync task.
  4. 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 enter 0 13 * * 1, the task is performed every Monday at 1 pm. 
    The default value is 0 * * * *, which means the sync is performed every hour.
  5. Click Save changes.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its 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 .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?