How Scheduling Works
- You define a schedule (cron expression + prompt + config)
- The SDK stores the schedule and manages execution
- At each trigger time a new session is created and the agent is run
- Results are stored and can be routed to connectors (Slack, email, etc.)
ClineCore. The hub runs as a background process on your machine. It starts automatically when needed and persists schedules across restarts.
Creating Schedules Programmatically with Cline SDK
Schedule Wizard with Cline CLI
An easy way to schedule task is to use Cline CLI for scheduling task, if you’ve already installed vianpm i -g cline
Run cline schedule to open an interactive menu for creating and managing schedules, browsing execution history, and viewing performance statistics.
Creating Schedules with Flags
Managing Schedules
Cron Expression Reference
| Expression | Schedule |
|---|---|
0 9 * * MON-FRI | 9 AM, Monday through Friday |
0 */6 * * * | Every 6 hours |
0 8 * * MON | 8 AM every Monday |
30 17 * * * | 5:30 PM every day |
0 0 1 * * | Midnight on the 1st of each month |
*/30 * * * * | Every 30 minutes |
Use Cases
Daily Standup Summary
Automated Dependency Updates
Codebase Health Report
Concurrency and Resource Limits
The scheduler enforces limits to prevent resource exhaustion:- Schedules have configurable concurrency limits
- If a previous execution is still running when the next trigger fires, the new execution is queued or skipped (configurable)
- The hub monitors resource usage and can pause schedules if the system is under load

