Table of Contents

Class ScheduleAttribute

Namespace
Pillars.Schedules.Models
Assembly
Pillars.dll

Defines a scheduled method with a given id and a cron expression If you want something to run every day at 16:00 you can use something like "0 16 * * *"

IMPORTANT: The seconds are OMITTED

See https://github.com/HangfireIO/Cronos

[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
public sealed class ScheduleAttribute : Attribute
Inheritance
ScheduleAttribute
Inherited Members

Constructors

ScheduleAttribute(SCHEDULE, string, CATCHUP)

Defines a scheduled method with a given id and a cron expression If you want something to run every day at 16:00 you can use something like "0 16 * * *"

IMPORTANT: The seconds are OMITTED

See https://github.com/HangfireIO/Cronos

Properties

CronExp
HistoryCatchup
Id