Namespace Dynamicweb.Scheduling
Classes
- BaseScheduledTaskAddIn
Extensibility point for the code executed by a scheduled task. Every scheduled task (Task) is bound to a subclass of this type through AddInTypeName, and when the scheduler runs the task, the add-in is instantiated and its Run() method is invoked. Built-in implementations include the URL, SQL and log-cleanup task add-ins (see the
Dynamicweb.Scheduling.ScheduledTaskAddInsnamespace).
- Consts
Constants which are specific for scheduling project
- Job
Base class for a single execution of a scheduled task (Task). A job wraps the task with a task-specific logger and the bookkeeping needed to record the outcome (last result, last exception, last event id) back on the task. Jobs are created through GetJob(Task, CancellationToken) — which returns the built-in job that resolves and runs the task's BaseScheduledTaskAddIn — and executed by the scheduler service, which calls Execute() on a worker thread subject to the task's configured timeout.
- JobFactory
Represents a factory for creating different types of scheduled task jobs.
- Task
Represents task
- TaskExecution
Represents a task execution in the task scheduling.
- TaskExecutionService
Service for managing task executions.
- TaskFolder
Represents a folder for organizing scheduled tasks.
- TaskFolderService
Service for managing task folders.
- TaskStatistics
Represents statistics for a task in the task scheduling system.
- WindowsScheduler
Provides methods an properties for managing Windows Scheduled Tasks service.
Enums
- TaskLastRunState
Task last run state