Skip to main content
This feature currently only applies to Cline SDK, CLI, and Kanban. This feature is not applicable on VSCode and JetBrains Extension for now.
The CLI supports running agents on cron schedules through the hub. Scheduled agents persist across process restarts and run independently of any terminal session.

Schedule Wizard

Run cline schedule to open an interactive menu for creating and managing schedules, browsing execution history, and viewing performance statistics.
The wizard provides:

Creating Schedules with Flags

--cron, --prompt and --workspace are required. Other options: Run cline schedule create --help for the full list. The delivery options are under Routing Results.

Managing Schedules

cline schedule export <schedule-id> --to <file> and cline schedule import <file> copy a schedule between machines.

Cron Expression Reference

Days and months can also be names: 0 9 * * MON-FRI is the same as 0 9 * * 1-5. Times are in the computer’s local time zone.

Examples

Daily Standup Summary

Weekly Dependency Check

Codebase Health Report

Routing Results

A connector can post each run’s final reply to a chat. The connector must be running when the run finishes, and the schedule must name the chat. The simplest way is to create the schedule from the chat itself. Send this to your bot:
The schedule runs in the connector’s working directory and posts to that chat. To create the schedule from a terminal instead, send /whereami in the chat first. It replies with the chat’s deliveryAdapter and deliveryThread. Pass them to cline schedule create:
If more than one bot of the same kind is running, add --delivery-bot <bot-username> so that only that bot posts. Supply-Chain Scan Alerts walks through a complete example. Scheduling requires the hub. It starts automatically when you create a schedule.