Scheduled Tasks
What are Scheduled Tasks
Scheduled tasks let the AI automatically execute pre-set instructions at specified times, without manual triggering. Great for daily reports, periodic checks, data syncing, and more.
Creating a Task
- Open Settings → Scheduled Tasks
- Click Create Task
- Configure task parameters
Schedule Types
One-time (At)
Execute once at a specific time.
Recurring (Every)
Execute every N minutes.
Cron Expression
Standard 5-field cron expressions with timezone support.
# Every day at 9 AM
0 9 * * *
# Monday to Friday at 6 PM
0 18 * * 1-5
# Every 30 minutes
*/30 * * * *
Task Configuration
| Option | Description |
|---|---|
| Prompt | The instruction to send to the AI |
| Working Directory | The workspace for the task |
| Model | Which model to use |
| Permission Mode | Plan / AcceptEdits / BypassPermissions |
| Run Mode | New session (independent each time) / Reuse session (maintain context) |
End Conditions
- Deadline — Auto-stop after a date
- Max Executions — Stop after N runs
- AI Exit Flag — AI signals task completion
- Timeout — Max duration per execution
Task Center
In the Task Center you can:
- View all scheduled task statuses
- View execution history for each run
- View error logs
- Trigger manual execution
Use Cases
- Daily Digest — Summarize emails and calendar at 9 AM daily
- Code Review — Check for new PRs in the repo every hour
- Data Sync — Periodically pull API data to update local files
- Log Cleanup — Clean up expired logs weekly