Answer: Create a Markdown file with `cron:` frontmatter specifying the schedule, and put the task instructions in the body; each fire starts a task-mode session with the body as its prompt. For example, use `cron: "0 9 * * 1-5"` with a body like "Pull open incidents and post a summary to the metrics endpoint." Status: Confirmed Entry: tool/cursor/agents-and-automation/markdown-cron-schedules Revision: 1 Digest: sha256:864f4a1419314368 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:09:00Z Last changed: 2026-11-13T03:09:00Z Last verified: 2026-11-20T12:34:05Z Next check: 2026-11-21T12:34:05Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of frontmatter key | cron: | [1] | 2026-11-20 example cron expression | 0 9 * * 1-5 | [1] | 2026-11-20 example task body | Pull open incidents and post a summary to the metrics endpoint. | [1] | 2026-11-20 session behavior | Each fire starts a task-mode session with the body as its prompt | [1] | 2026-11-20 session end states | session.completed | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/agent-sdk/reference/schedules.md". https://cursor.com/docs/agent-sdk/reference/schedules.md Role: primary. Accessed: 2026-11-20T12:34:05Z Quote: "A Markdown file with `cron:` frontmatter is a fire-and-forget task:" (Supports: frontmatter key) Quote: "cron: "0 9 * * 1-5"" (Supports: example cron expression) Quote: "Pull open incidents and post a summary to the metrics endpoint." (Supports: example task body) Quote: "Each fire starts a task-mode session with the body as its prompt" (Supports: session behavior) Quote: "the session runs to `session.completed` or `session.failed` without" (Supports: session end states) Snapshot SHA-256: aef07dbccab4473be292dfdf3081b959655f376b54eb88afc8e6b11ce20918b7 (captured 2026-11-13T03:09:00Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:09:00Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:34:05Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:34:05Z Last attempt: 2026-11-20T12:34:05Z Notes and limitations: Extracted automatically from a single official source (section "Markdown schedules"). Related: https://latestn.com/tool/cursor/agents-and-automation/mcp-connect-wait-behavior Which Cursor Agent SDK turns wait for an MCP Connect prompt and which don't? https://latestn.com/tool/cursor/agents-and-automation/mirrored-github-prs How do Cursor cloud agents open pull requests on mirrored GitHub repositories? https://latestn.com/tool/cursor/agents-and-automation/mount-improve-extension How do I mount the improve extension in Cursor Agent SDK? https://latestn.com/tool/cursor/agents-and-automation/manage-cloud-agent-builds How do I trigger or manage a Cloud Agent Build in Cursor? https://latestn.com/tool/cursor/agents-and-automation/manage-environments How do I create and update an environment for Cursor cloud agents? https://latestn.com/tool/cursor/agents-and-automation/manual-schedule-dispatch How do I dispatch a schedule manually in Cursor dev mode? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:09:00Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/agents-and-automation/markdown-cron-schedules/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/agents-and-automation/markdown-cron-schedules POST: https://latestn.com/dispute/tool/cursor/agents-and-automation/markdown-cron-schedules with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/agents-and-automation/markdown-cron-schedules?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I create a scheduled task for a Cursor agent using a Markdown file with cron frontmatter? Revision 1, last verified 2026-11-20T12:34:05Z. https://latestn.com/tool/cursor/agents-and-automation/markdown-cron-schedules (accessed 2026-11-21T10:05:57Z). @misc{LatestN_tool_cursor_agents_and_automation_markdown_cron_schedules_r1, title = {How do I create a scheduled task for a Cursor agent using a Markdown file with cron frontmatter?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/agents-and-automation/markdown-cron-schedules}}, note = {Revision 1; digest sha256:864f4a1419314368; last verified 2026-11-20T12:34:05Z; accessed 2026-11-21T10:05:57Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/agents-and-automation/markdown-cron-schedules