Kentico CMS 6.0 Developer's Guide

Scheduled tasks administration

Scheduled tasks administration

Previous topic Next topic Mail us feedback on this topic!  

Scheduled tasks administration

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

You can configure scheduled tasks in Site Manager -> Administration -> Scheduled tasks.

 

devguide_clip0394

 

The Site drop-down list is used for selecting a site. After a site is selected, a list of tasks scheduled for the given site will be displayed in the table below. Tasks that are not site-specific can only be viewed when (Global) is selected. The tasks of the current site can also be edited in CMS Desk -> Administration -> Scheduled tasks.

 

Next to the site selection drop-down list, you can find the following two buttons:

 

Restart timer - restarts the internal scheduling timer. This button is only available when the scheduler is configured to use the internal timer as described in Configuring task execution.

Run ASAP - immediately executes all tasks that are ready to be executed.

 

The NewTask New task link allows you to schedule new custom tasks. The process of creating a scheduled task is covered in more detail in the Scheduling a custom code topic. The Synchronize Refresh action updates the information displayed below in the list of tasks.

 

The three action icons on the left of each task serve the following purpose:

 

Edit Edit - allows the properties of the task (e.g. its execution interval) to be modified.

Delete Delete - removes the scheduled task.

Run Execute - immediately runs the task. When a task is executed manually, the scheduled time of its next execution is automatically moved forward according to the scheduling interval.

 

The Warning icon is displayed in the Actions column indicates that the task should be executed by the Windows service, but was not executed for a long period of time. This  typically happens when the service is not running and notifies you about the fact that it should be started for these task to be executed.