examples/scheduling/README.md
Demonstrates how to schedule tasks and execute code at specific times or intervals using Rivet Actors.
git clone https://github.com/rivet-dev/rivet.git
cd rivet/examples/scheduling
npm install
npm run dev
schedule.at()schedule.after()This example demonstrates time-based task scheduling in Rivet Actors:
src/backend/registry.ts): Shows how to use schedule.at() and schedule.after() to schedule future actions with persistent stateRead more about scheduling, actions, and state.
MIT