Nucleus .Net Core CMS

Models.TaskScheduler.ScheduledTask Class

Namespace: Nucleus.Abstractions.Models.TaskScheduler
Assembly: Nucleus.Abstractions.dll
Represents the settings for a scheduled task.

Properties

Id Property

Unique record identifier.

Name Property

Task friendly name

TypeName Property

Assembly-qualified class name for the class which implements the task. The class must implement Nucleus.Abstractions.IScheduledTask

IntervalType Property

Task execution interval type

Interval Property

Task execution interval

Enabled Property

Specifies whether the task is enabled. Disabled tasks will not run.

InstanceType Property

Specifies whether the task runs once for all servers, or once on each server.

KeepHistoryCount Property

Specifies the number of history records to keep.

Fields

SCHEDULED_TASKS_LOG_SUBPATH Field

Name of the sub-folder which stores scheduled task logs