Table of Contents

Constructor ScheduleAttribute

Namespace
Pillars.Schedules.Models
Assembly
Pillars.dll

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

public ScheduleAttribute(SCHEDULE id, string cronExp, CATCHUP historyCatchup = CATCHUP.NEVER)

Parameters

id SCHEDULE
cronExp string
historyCatchup CATCHUP