DEV Community

clawtick
clawtick

Posted on

How I Schedule AI Agent Tasks Without Managing Cron Infrastructure

The Problem

I run AI agents that need to fire on a schedule — daily reports, periodic data checks, automated follow-ups. The standard options:

  1. Self-hosted cron — SSH into a VPS, edit crontab, pray it doesn't silently fail at 3am
  2. Cloud glue — Wire up EventBridge + Lambda + CloudWatch Alarms + SNS notifications yourself
  3. Generic schedulers — Built for web apps, not agents. No concept of tokens, context, or agent-specific delivery

All three share the same problem: too much infrastructure for what should be simple.

What I Wanted

# This. That's it.
clawtick jobs create \
  --cron "0 9 * * *" \
  --message "Generate daily sales report and send to #reports" \
  --name "Daily Report"
Enter fullscreen mode Exit fullscreen mode

One command. Job runs every day at 9am. If it fails, I get an alert. If it fails 3 times in a row, it auto-disables and emails me. Execution history, logs, and monitoring included.

How It Works

ClawTick is a cloud scheduler I built specifically for this use case. Two integration types:

  1. Webhook Jobs (any HTTP endpoint)
clawtick jobs create \
  --cron "*/30 * * * *" \
  --message "Health check" \
  --integration webhook \
  --webhook-url "https://api.myapp.com/cron/cleanup" \
  --webhook-method POST \
  --name "DB Cleanup"
Enter fullscreen mode Exit fullscreen mode
  1. AI Agent Jobs (OpenClaw gateway)
clawtick jobs create \
  --cron "0 9 * * 1-5" \
  --message "Summarize yesterday's support tickets and post to Slack" \
  --agent main \
  --name "Ticket Summary"
Enter fullscreen mode Exit fullscreen mode

The agent receives the message at the scheduled time, executes, and ClawTick logs the result.

Quick Start

npm install -g clawtick
clawtick login --key YOUR_API_KEY
clawtick jobs create --cron "0 9 * * *" --message "Hello world" --name "Test"
clawtick jobs list

Enter fullscreen mode Exit fullscreen mode

When This Makes Sense

You're running LangChain/CrewAI agents that need scheduled tasks
You want webhook scheduling with monitoring (not just "fire and forget")
You're tired of managing cron on a VPS
Your agents need to schedule their own tasks programmatically

Top comments (0)