Table of Contents

Class TaskSchedule

Namespace
Oscova.Agents.Tasks
Assembly
Oscova.Agents.dll

Defines when and how an agent task should run.

public class TaskSchedule

Inheritance

Inherited Members

Properties

CronExpression

Gets or sets the cron expression for cron schedules.

DeleteAfterRun

Gets or sets whether a successful one-shot task should be deleted instead of disabled.

IntervalMinutes

Gets or sets the interval in minutes for interval schedules.

Kind

Gets or sets the scheduling strategy.

PredecessorTaskId

Gets or sets the identifier of the predecessor task whose successful completion triggers this task. Only used when Oscova.Agents.Tasks.TaskSchedule.Kind is Oscova.Agents.Tasks.TaskScheduleKind.AfterTask.

RunAt

Gets or sets the due time for one-shot schedules.

TimeZoneId

Gets or sets the time-zone identifier used to evaluate cron schedules.