Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

In this article you’ll find:

Goal

The goal of this article is to show you how to create the scheduled task from the Kentico backend application.

Prerequisites

Created field mappings - Kentico: Indexing API Overview

Steps to creating the scheduled task

  1. From the application selector side menu (F2 or button top left) choose Configuration/Scheduled tasks.

  2. Click New task.

  3. Write your desired display name in Task display name, for example “Hawksearch Indexing”.

  4. In Task provider choose Hawksearch.Kentico.Xperience.CMS for the assembly name.

  5. In Task provider choose Hawksearch.Kentico.Xperience.CMS.Tasks.IndexingTask for the class name.

  6. In the Task data field, you have to specify a JSON string which contains the Index display name that you would like to index with this task. For example:

    {
        "IndexDisplayName" : "Main"
    }
  7. Choose your desired runtime frequency parameters, for example once per day.

  8. Click save.

  • No labels