Models.TaskScheduler.ScheduledTask Class
Namespace: Nucleus.Abstractions.Models.TaskScheduler
Assembly: Nucleus.Abstractions.dll
Represents the settings for a scheduled task.
Properties
Enabled
Property
Specifies whether the task is enabled. Disabled tasks will not run.
Id
Property
Unique record identifier.
InstanceType
Property
Specifies whether the task runs once for all servers, or once on each server.
Interval
Property
Task execution interval
IntervalType
Property
Task execution interval type
KeepHistoryCount
Property
Specifies the number of history records to keep.
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
Fields
SCHEDULED_TASKS_LOG_SUBPATH
Name of the sub-folder which stores scheduled task logs
Methods
GetLogFolderName
GetLogFolderName ()
Generate a valid log folder from the scheduled task name.