Table of Contents

Namespace Pillars.Schedules.Models

Classes

Cycle

A Cycle describes a method to be run in a cyclic manner, e.g. every 15 minutes. All cycles are bound to a common timer.

CycleAttribute

Defines a cyclic method with a given id and some creation flags. Use this if you want to run something every 2 hours and don't care about the WHEN.

If the WHEN is important, use a Schedule!

CycleHistory
CycleTracker

This table tracks cycle and their runtime. Only one entry per cycle is allowed

Schedule

A Schedule describes a function to be ran at a specific time (e.g. always at 2 pm) Each schedule creates their own timer, so consider a Cycle, if possible.

ScheduleAttribute

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

ScheduleHistory