SAService Architect Back to designer
SAService ArchitectDocumentation
Scheduling guide Cron | Temporal

Scheduling 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

  • Cron evaluates a schedule inside each running service process and emits values into an Input stream.
  • Temporal owns durable workers and clients; Sink submissions and optional schedules start Activity or Workflow executions.
  • A Temporal endpoint is explicitly an Activity or a Workflow.
  • Only values collected by an endpoint function enter the stream graph.

Choose the execution model

  • 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 scheduler

Process-local occurrence evaluation; replicas can each execute the same occurrence.

Temporal Activitydurable task

Retryable worker execution for side effects and external I/O.

Temporal Workflowdurable orchestration

Replay-safe coordination, durable timers, and state.

Temporal Scheduledurable trigger

Server-managed start of the configured Activity or Workflow endpoint.

Product-level example

Cron -> ScheduleEndpointFunction -> Input -> graph
Temporal Sink -> Activity or Workflow -> optional result