zeroclaw cron command manages scheduled tasks using cron expressions, timestamps, or intervals.
Overview
Schedule recurring or one-time agent tasks:- Cron expressions (5-field format)
- RFC 3339 timestamps
- Duration-based delays
- Fixed intervals
Subcommands
list
List all scheduled tasks.add
Add recurring task with cron expression.Cron expression (5 fields):
min hour day month weekdayMessage to send to agent when task runs
IANA timezone name (e.g.,
America/New_York)add-at
Schedule one-time task at specific time.RFC 3339 timestamp (e.g.,
2026-03-15T14:00:00Z)add-every
Repeat task at fixed interval.once
Run task once after delay.<number><unit> where unit is s, m, h, or d
Examples:
remove
Remove scheduled task.pause
Pause task without deleting.resume
Resume paused task.Cron Expression Format
Five fields:min hour day month weekday
Minutes (0-59)
Hours (0-23)
Day of month (1-31)
Month (1-12)
Day of week (0-7, where 0 and 7 = Sunday)
Special Characters
*- Any value,- Value list (e.g.,1,15= 1st and 15th)-- Range (e.g.,1-5= Monday through Friday)/- Step (e.g.,*/15= every 15 minutes)
Examples
Task Storage
Tasks are stored in~/.zeroclaw/cron.db (SQLite).
Backup tasks: