✓ Verified 💻 Development ✓ Enhanced Data

Casual Cron

Create Clawdbot cron jobs from natural language with strict.

Rating
3.8 (192 reviews)
Downloads
569 downloads
Version
1.0.0

Overview

Create Clawdbot cron jobs from natural language with strict.

Complete Documentation

View Source →

Casual Cron

Create Clawdbot cron jobs from natural language. Supports one-shot and repeating schedules with safe run-guard rules.

Cron Run Guard (Hard Rules)

  • When running inside a cron job: do NOT troubleshoot, do NOT restart gateway, and do NOT check time.
  • Do NOT send acknowledgements or explanations.
  • Output ONLY the exact message payload and then stop.

How It Works

  • Agent detects scheduling intent from user message (or /at / /every command)
  • Parses: time, frequency, channel, destination, message
  • Builds openclaw cron add command with correct flags
  • Confirms parsed time, job name, and job id with user before executing

Scheduling Rules

When a message starts with /at or /every, schedule via the CLI (NOT the cron tool API).

Use: openclaw cron add

/at (one-shot)

  • If user gives a clock time (e.g., "3pm"), convert to ISO with offset computed for America/New_York on that date (DST-safe).
  • Prefer relative times for near-term reminders (e.g., --at "20m").
  • Use --session isolated --message "Output exactly: ".
  • Always include --delete-after-run.
  • Always include --deliver --channel --to .

/every (repeating)

  • If interval: use --every "" (no timezone needed).
  • If clock time: use --cron "" --tz "America/New_York".
  • Use --session isolated --message "Output exactly: ".
  • Always include --deliver --channel --to .

Confirmation

  • Always confirm parsed time, job name, and job id with the user before finalizing.

Command Reference

One-shot (clock time, DST-aware):

text
openclaw cron add \
  --name "Reminder example" \
  --at "2026-01-28T15:00:00-05:00" \
  --session isolated \
  --message "Output exactly: <TASK>" \
  --deliver --channel telegram --to <TELEGRAM_CHAT_ID> \
  --delete-after-run

One-shot (relative time):

text
openclaw cron add \
  --name "Reminder in 20m" \
  --at "20m" \
  --session isolated \
  --message "Output exactly: <TASK>" \
  --deliver --channel telegram --to <TELEGRAM_CHAT_ID> \
  --delete-after-run

Repeating (clock time, DST-aware):

text
openclaw cron add \
  --name "Daily 3pm reminder" \
  --cron "0 15 * * *" --tz "America/New_York" \
  --session isolated \
  --message "Output exactly: <TASK>" \
  --deliver --channel telegram --to <TELEGRAM_CHAT_ID>

Repeating (interval):

text
openclaw cron add \
  --name "Every 2 hours" \
  --every "2h" \
  --session isolated \
  --message "Output exactly: <TASK>" \
  --deliver --channel telegram --to <TELEGRAM_CHAT_ID>


Configuration

SettingValue
Default timezoneAmerica/New_York (DST-aware)
Default channeltelegram (override via CRON_DEFAULT_CHANNEL env var)
Supported channelstelegram, whatsapp, slack, discord, signal

Supported Patterns

Time Formats

InputCron
8am0 8
8:45pm45 20
noon0 12
midnight0 0
14:3030 14 *

Frequencies

InputBehavior
daily / every dayDaily at specified time
weekdays / mon-friMon-Fri at specified time
mondays / every mondayWeekly on Monday
hourly / every hourEvery hour at :00
every 2 hours0 /2
weeklyWeekly (defaults to Monday)
monthlyMonthly (1st of month)

Installation

Terminal bash

openclaw install casual-cron
    
Copied!

💻Code Examples

One-shot (clock time, DST-aware):

one-shot-clock-time-dst-aware.txt
openclaw cron add \
  --name "Reminder example" \
  --at "2026-01-28T15:00:00-05:00" \
  --session isolated \
  --message "Output exactly: <TASK>" \
  --deliver --channel telegram --to <TELEGRAM_CHAT_ID> \
  --delete-after-run

One-shot (relative time):

one-shot-relative-time.txt
openclaw cron add \
  --name "Reminder in 20m" \
  --at "20m" \
  --session isolated \
  --message "Output exactly: <TASK>" \
  --deliver --channel telegram --to <TELEGRAM_CHAT_ID> \
  --delete-after-run

Repeating (clock time, DST-aware):

repeating-clock-time-dst-aware.txt
openclaw cron add \
  --name "Daily 3pm reminder" \
  --cron "0 15 * * *" --tz "America/New_York" \
  --session isolated \
  --message "Output exactly: <TASK>" \
  --deliver --channel telegram --to <TELEGRAM_CHAT_ID>

Repeating (interval):

repeating-interval.txt
openclaw cron add \
  --name "Every 2 hours" \
  --every "2h" \
  --session isolated \
  --message "Output exactly: <TASK>" \
  --deliver --channel telegram --to <TELEGRAM_CHAT_ID>

⚙️Configuration Options

Option Type Default Description
CRON_DEFAULT_CHANNELstring-env var) |

Tags

#self_hosted-and-automation #bot

Quick Info

Category Development
Model Claude 3.5
Complexity One-Click
Author gostlightai
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install casual-cron