Scheduling guide
ScheduleTriggerScheduleTrigger contract
Portable invocation metadata delivered to Cron and Temporal schedule callbacks.
When to use
Use this page while designing, implementing, operating, or troubleshooting scheduled and durable execution.
Behavior
scheduledAtis the logical occurrence;firedAtis actual dispatch time.backendislocalfor Cron andtemporalfor a Temporal Schedule.triggerIdis deterministic across retries for the same endpoint, schedule, and occurrence.- The ID is SHA-256 over a versioned identity, endpoint ID, schedule ID, and UTC RFC3339-nanosecond occurrence.
Idempotency and business time
- Persist
triggerIdwith external side effects when duplicate suppression matters. - Use
scheduledAtfor selecting a business period. - Use
firedAtfor lateness telemetry. - Do not derive idempotency from
firedAt.
Trigger properties
Names follow each target language convention.
PropertyTypeDescription
triggerId / trigger_idstringStable idempotency key.
RequiredscheduleId / schedule_idstringConfigured durable ID or local schedule identity.
RequiredscheduledAt / scheduled_atUTC timestampLogical scheduler time.
RequiredfiredAt / fired_atUTC timestampActual dispatch time.
RequiredbackendenumProducing scheduler.
RequiredAllowed:local, temporalProduct-level example
{ triggerId: "<stable_sha256>", scheduleId: "daily-rollup", scheduledAt: "<utc>", firedAt: "<utc>", backend: "temporal" }