Skip to main content

Scheduled Jobs

Durable time-based jobs that call an HTTP endpoint you own — on a cron schedule, once at a fixed time, or on a repeating interval. Jobs survive restarts, retry on failure, and keep their own execution history.

Concepts

ConceptDescription
JobA named schedule that fires an HTTP target at computed times
Schedule typeHow fire times are computed: cron, one-shot, or recurring interval
TargetThe HTTP endpoint and payload the job delivers to on each firing
StateLifecycle of the job: SCHEDULE_STATE_ACTIVE, SCHEDULE_STATE_PAUSED, SCHEDULE_STATE_DELETED
ExecutionA single firing record — captures status, HTTP result, attempt number, and duration
Auto-pauseAutomatic pause after N consecutive failures — prevents runaway retries against a broken target
Retry policyExponential backoff between delivery attempts within a single firing

Schedule Types

TypeFieldWhen to use
SCHEDULE_TYPE_CRONcron_expressionRepeating schedule aligned to calendar time (e.g. every weekday at 9 AM)
SCHEDULE_TYPE_ONCEscheduled_atFire exactly once at a specific UTC timestamp
SCHEDULE_TYPE_RECURRING_INTERVALinterval_secondsFire every N seconds, regardless of clock alignment — minimum 60

Where to next

PageCovers
Creating JobsCron, one-shot, and interval schedules
Managing JobsGet, list, update, pause, resume, delete, external ids
Execution & RetriesHistory, retry policy, auto-pause
Verifying CallbacksProving a dispatch came from the platform before acting on it