Durable Cron Jobs & Scheduling

•
16
•

Implements persistent, fault-tolerant scheduled tasks and recurring jobs using Rivet Actor timers.

This skill provides specialized guidance for building reliable cron jobs and scheduled tasks within the Rivet ecosystem. It leverages Actor schedules—persistent timers managed by the engine—to ensure that tasks survive actor sleep, system restarts, and crashes. By utilizing durable timers instead of in-memory intervals, developers can create robust systems for reminders, periodic reports, and time-based logic with guaranteed execution and state-aware idempotency patterns.

주요 기능

01Automatic actor wake-up for scheduled deadlines
0216 GitHub stars
03Durable timer persistence across restarts and crashes
04Idempotent handler implementation with tombstone guards
05One-shot and recurring job re-arming patterns
06State-based tracking for execution markers and batching

사용 사례

01Building reminder services and automated notification systems
02Executing periodic background tasks like nightly data cleanup or reports
03Managing time-sensitive business logic such as subscription trials or billing cycles