Scheduling guide
Cron | TemporalScheduling overview
Choose process-local recurring triggers or durable Temporal execution by their reliability model.
When to use
Start here before choosing a Cron or Temporal connector.
Behavior
Cronevaluates a schedule inside each running service process and emits values into an Input stream.Temporalowns durable workers and clients; Sink submissions and optional schedules start Activity or Workflow executions.- A Temporal endpoint is explicitly an
Activityor aWorkflow. - Only values collected by an endpoint function enter the stream graph.
Choose the execution model
LocalCron tickEvaluated independently in every service instance.
CallbackSchedule functionReceives
ScheduleTrigger and collects values.GraphInput streamCollected values enter normal processing.
- Use Cron for lightweight process-local periodic input.
- Use Activity for retryable side effects and I/O.
- Use Workflow for durable deterministic orchestration.
- Use a Temporal Schedule when the trigger itself must be durable and cluster-level.
Execution models properties
Operational meaning of each option.
PropertyTypeDescription
Cronlocal schedulerProcess-local occurrence evaluation; replicas can each execute the same occurrence.
Temporal Activitydurable taskRetryable worker execution for side effects and external I/O.
Temporal Workflowdurable orchestrationReplay-safe coordination, durable timers, and state.
Temporal Scheduledurable triggerServer-managed start of the configured Activity or Workflow endpoint.
Product-level example
Cron -> ScheduleEndpointFunction -> Input -> graph
Temporal Sink -> Activity or Workflow -> optional result