Skip to main content
Run any Skill in Manus
with one click

sanity-scheduled-functions

Stars16
Forks7
UpdatedJuly 7, 2026 at 16:25

How to add, configure, and deploy Sanity Scheduled Functions in this repo. Scheduled functions run on a cron schedule and live on a separate organization-scoped Blueprint stack at `blueprints/scheduled/`, distinct from the project-scoped document functions in the root `sanity.blueprint.ts`. Covers `defineScheduledFunction`, robot tokens, cron expressions / natural-language schedules, the `blueprints promote` one-way migration to org scope, the `scheduledEventHandler` runtime, local `sanity functions dev`, and the per-stack `blueprints plan` / `deploy` workflow. Use when the user asks to schedule a function, run a cron job in Sanity, add a periodic / monthly / daily / hourly task, work with `blueprints/scheduled/sanity.blueprint.ts`, deploy an org-scoped blueprint, or move an existing function from event-triggered to scheduled.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly