Skip to main content
Configure cron jobs to run AI tasks on a schedule - nightly audits, weekly reports, daily maintenance, and more.

What You’ll Build

Automated scheduled tasks that:
  • Run at specified times (cron expressions)
  • Execute in your deployed workspace
  • Have full file and shell access
  • Report results via webhooks

How It Works

Configuration

Define cron jobs in your .chucky.json:
Then deploy to activate:

Cron Expression Reference

Use Case Examples

Daily Code Quality Check

Weekly Security Audit

Daily Dependency Updates

Weekly Documentation Sync

Nightly Test Coverage Report

Monthly Compliance Check

Webhook Integration

Slack Notifications

GitHub Issue Creation

Email Reports

Configuration Options

Full Schema

Option Reference

Managing Cron Jobs

View Active Jobs

Update Schedule

Edit .chucky.json and redeploy:

Disable Temporarily

Comment out or remove the cron entry and deploy:

Test Before Scheduling

Run the prompt manually first:

Best Practices

1. Set Budget Limits

Always set maxBudgetUsd to prevent runaway costs:

2. Use Appropriate Models

  • Haiku for simple, frequent tasks
  • Sonnet for most tasks (good balance)
  • Opus for complex analysis (sparingly)

3. Handle Failures

Configure webhooks to alert on failures:

4. Stagger Schedules

Don’t run all jobs at the same time:

5. Keep Prompts Focused

One task per cron job:

Monitoring

View Job History

Check Specific Job

Cost Tracking

Monitor costs in the Chucky portal at app.chucky.cloud.

Next Steps

Jobs

Manual job management

Deployment

Deploy configuration

CI/CD Integration

Pipeline integration

Budget Management

Cost control