ScheduleSpec

data class ScheduleSpec(val id: String, val kind: String, val fingerprint: String, val description: String, val fireAt: Instant?)

A recurring schedule's persisted identity and timing state, as the runtime registers it. The store never sees or evaluates a schedule expression: all schedule math (cron, DSL, misfire policy, payloads) lives in the runtime, and the store only keeps the fields below plus per-row lease state. fingerprint is an opaque string the runtime derives from the full definition; stores compare it for equality and never parse it.

Constructors

Link copied to clipboard
constructor(id: String, kind: String, fingerprint: String, description: String, fireAt: Instant?)

Properties

Link copied to clipboard

Human-readable definition (for tooling and the dashboard), e.g. cron '0 9 * * 1-5' UTC.

Link copied to clipboard

Opaque definition fingerprint; a change means "the definition changed".

Link copied to clipboard

The next fire time to store when this upsert inserts the row or replaces a changed fingerprint. Null means the schedule currently has no future fire (dormant).

Link copied to clipboard
val id: String

Stable schedule id, chosen by the user. The row's identity.

Link copied to clipboard

The job kind this schedule emits. Display and ops metadata, not used by the store.