Skip to main content

Jobs Overview

Jobs let you schedule background work: one-off tasks, recurring cron-style runs, and processor-backed operations (notifications, storage, database, graph, features).

Concepts

TermDescription
JobA unit of scheduled work with payload, status, and optional repeat/cron
MonitorSDK worker loop that claims due jobs and routes them to the processor
DispatchEnqueue work without blocking the caller (actions, features, resilience, etc.)

When to use jobs

  • Run features on a schedule or with delay
  • Retry failed operations with backoff
  • Process notifications, storage, or database operations asynchronously
  • Run healthchecks and recurring maintenance

SDK

Initialize the SDK once, then use ductape.jobs (TypeScript) or the equivalent service in Java, Go, and .NET.

npm install @ductape/sdk@0.1.8

Next steps