Answer: You create a scheduled agent programmatically with the Cline SDK by creating a ClineCore instance with automation enabled, which reads schedule files from ~/.cline/cron/. Status: Confirmed Entry: tool/cline/agents-and-automation/create-scheduled-agent-sdk Revision: 1 Digest: sha256:6b1c1bc8ec11cb4b (changes whenever the content changes) Timeline: Created: 2026-11-13T03:07:40Z Last changed: 2026-11-13T03:07:40Z Last verified: 2026-11-20T12:30:42Z Next check: 2026-11-21T12:30:42Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of SDK import | import { ClineCore } from "@cline/sdk" | [1] | 2026-11-20 automation option | automation: true | [1] | 2026-11-20 schedule files location | ~/.cline/cron/ | [1] | 2026-11-20 list runs method | cline.automation.listRuns() | [1] | 2026-11-20 deferred start option | automation: { autoStart: false } | [1] | 2026-11-20 deferred start method | cline.automation.start() | [1] | 2026-11-20 Sources: [1] Cline. "Scheduled Agents". https://docs.cline.bot/sdk/guides/scheduled-agents.md Role: primary. Accessed: 2026-11-20T12:30:42Z Quote: "import { ClineCore } from "@cline/sdk"" (Supports: SDK import) Quote: "automation: true," (Supports: automation option) Quote: "reads schedule files from `~/.cline/cron/`" (Supports: schedule files location) Quote: "const runs = cline.automation.listRuns()" (Supports: list runs method) Quote: "Pass automation: { autoStart: false }" (Supports: deferred start option) Quote: "to start it later with cline.automation.start()." (Supports: deferred start method) Published: 2026-11-20T06:00:27Z Snapshot SHA-256: bcbb15317c56ccff8a1abbbfe1ea3ee21352789543ae7486de9538164c9416b9 (captured 2026-11-15T12:31:39Z) 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:07:40Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:30:42Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:30:42Z Last attempt: 2026-11-20T12:30:42Z Notes and limitations: Extracted automatically from a single official source (section "Creating Schedules Programmatically with Cline SDK"). Related: https://latestn.com/tool/cline/agents-and-automation/cron-expression-reference What cron expression syntax does Cline scheduling support? https://latestn.com/tool/cline/agents-and-automation/custom-tool-error-handling How do I handle errors in a Cline custom tool's execute function? https://latestn.com/tool/cline/agents-and-automation/define-tools-zod-schemas How do I define custom tools with Zod schemas in a Cline SDK agent? https://latestn.com/tool/cline/agents-and-automation/create-custom-tool-with-zod How do I create a custom tool in Cline using createTool and a zod schema? https://latestn.com/tool/cline/agents-and-automation/create-plugin-register-tools How do I create a Cline plugin that registers custom tools? https://latestn.com/tool/cline/agents-and-automation/create-schedule How do I create a scheduled task in Cline Desktop? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:07:40Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cline/agents-and-automation/create-scheduled-agent-sdk/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/cline/agents-and-automation/create-scheduled-agent-sdk POST: https://latestn.com/dispute/tool/cline/agents-and-automation/create-scheduled-agent-sdk with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cline/agents-and-automation/create-scheduled-agent-sdk?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I create a scheduled agent with the Cline SDK? Revision 1, last verified 2026-11-20T12:30:42Z. https://latestn.com/tool/cline/agents-and-automation/create-scheduled-agent-sdk (accessed 2026-11-21T10:08:20Z). @misc{LatestN_tool_cline_agents_and_automation_create_scheduled_agent_sdk_r1, title = {How do I create a scheduled agent with the Cline SDK?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cline/agents-and-automation/create-scheduled-agent-sdk}}, note = {Revision 1; digest sha256:6b1c1bc8ec11cb4b; last verified 2026-11-20T12:30:42Z; accessed 2026-11-21T10:08:20Z} } 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/cline/agents-and-automation/create-scheduled-agent-sdk