Skip to main content
在 Manus 中运行任何 Skill
一键导入

sanity-scheduled-functions

星标16
分支7
更新时间2026年7月7日 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.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly