Cron & Wakeups

Schedule automated tasks with OpenClaw

Scheduled Tasks (Cron)

Use standard cron syntax to schedule OpenClaw to run prompts automatically at any interval.

{
  "automation": {
    "cron": {
      "daily-brief": {
        "schedule": "0 8 * * *",
        "prompt": "file:prompts/morning-brief.md",
        "target": "whatsapp"
      },
      "server-check": {
        "schedule": "*/5 * * * *",
        "prompt": "Check server health and alert if issues found.",
        "target": "slack"
      }
    }
  }
}

Cron Syntax Reference

Wakeup Triggers

Wakeups let OpenClaw respond to external events — webhook calls, file changes, or API pings — rather than on a fixed schedule.

{
  "wakeups": {
    "github-pr": {
      "type": "webhook",
      "path": "/webhook/github",
      "prompt": "A new PR was opened. Summarize it and alert the team.",
      "target": "slack"
    }
  }
}
Launch Your Personal AI Agent
OpenClaw connects to WhatsApp, Telegram, Slack and more. Get started in minutes.
Explore OpenClaw Setup →