Kentico CMS 6.0 Context Help

New/edit task

New/edit task

Previous topic Next topic Mail us feedback on this topic!  

New/edit task

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

Task display name

Name used for the scheduled task shown in the administration interface.

Task name

Scheduled task name used in code.

Task assembly name

Name of the assembly.

Task class name

Name of the class.

Task interval

Sets the time interval between two executions of the task. This does not ensure that the task will be executed at the exact time, only that it will be considered ready to be executed. The precise execution time depends on the general settings of the scheduler.

Task data

Data which should be provided to the assembly. This field can be accessed from the code of the task, so it can be used as a parameter to easily modify the task without having to edit its implementation.

Task enabled

Indicates if the task is enabled.

Delete task after last run

Indicates if the task should be deleted after its final run (applicable if the task is set to run only once).

Run task in separate thread

Indicates if the task should be executed in a separate thread in order to improve application performance.

Use external service

Indicates if the task should be processed by the Scheduler Windows service instead of the web application itself. If the Use external service setting in Site Manager -> Settings -> System is disabled, even tasks with this option enabled are processed by the application itself. The option is available only for some scheduled tasks. The ones that do not have it available in their editing interfaces can only be processed by the application itself.

Server name

Name of the server where the task is run.

Create tasks for all web farm servers

If checked, tasks will be created for all web farm servers and the Server name field will be grayed out.

 

More resources can be found at:

 

Developer's Guide -> Development -> Scheduler -> Overview

Developer's Guide -> Development -> Scheduler -> Scheduling a custom code