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

  1. Open Settings → Scheduled Tasks
  2. Click Create Task
  3. 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

OptionDescription
PromptThe instruction to send to the AI
Working DirectoryThe workspace for the task
ModelWhich model to use
Permission ModePlan / AcceptEdits / BypassPermissions
Run ModeNew 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