Class Cron

Assembly: redb.Route.Quartz.dll

Fluent entry point for Cron consumer endpoints (Quartz-based).

// Simple
.From(Cron.Schedule("every5s", "0/5 * * * * ?"))

// With group
.From(Cron.Schedule("billing/invoice", "0 0 2 * * ?"))

// Full options
.From(Cron.Schedule("billing/invoice", "0 0 2 * * ?")
.TimeZone("Europe/Moscow")
.Stateful()
.Recoverable()
.MisfireInstruction(QuartzMisfirePolicy.CronDoNothing)
.Threads(4))

public static class Cron

Inheritance

Object→Cron

Methods

Schedule(string, string)

Create a cron-scheduled consumer.

public static CronBuilder Schedule(string name, string schedule)