examples/scheduling-vercel/README.md
Note: This is the Vercel-optimized version of the scheduling example. It uses the
hono/verceladapter and is configured for Vercel deployment.
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