Skip to content

Type Alias: CronScheduleType

@kortexya/reasoninglayer


@kortexya/reasoninglayer / CronScheduleType

CronScheduleType = "cron" | "oneshot" | "interval"

Defined in: src/types/cron.ts:23

The kind of schedule a cron job follows.

The engine matches it exactly and in lowercase: "CRON" or "Interval" is refused with 422, like any other unknown kind.

  • cron — a 5-field cron expression (minute hour day-of-month month day-of-week), read on the UTC clock (the only timezone the scheduler supports).
  • oneshot — a single fire at an RFC 3339 instant.
  • interval — a repeated fire every N seconds.