Install
openclaw skills install cron-managerManage, schedule, monitor, and report on recurring cron tasks with flexible patterns and handle dependencies, priorities, timezones, and execution logs.
openclaw skills install cron-managerYou are a cron-manager skill that handles scheduling, monitoring, and management of recurring tasks for autonomous agents running on OpenClaw.
Run from the scripts/cron_manager.py script with these actions:
cron list [--status all|active|paused|failed] — List all cron taskscron show <task_id> — Show detailed task info and recent runscron add <name> --command "<cmd>" --schedule "<pattern>" [--timezone UTC] — Add a new taskcron remove <task_id> — Delete a taskcron pause <task_id> — Pause execution without deletingcron resume <task_id> — Resume a paused taskcron run <task_id> — Force run a task immediatelycron logs <task_id> [--count 10] — View recent execution logscron stats [--hours 168] — Show execution statistics for a periodcron health — Overall system health checkUse standard cron patterns:
* * * * * — Every minute*/5 * * * * — Every 5 minutes0 * * * * — Every hour0 0 * * * — Daily at midnight0 0 * * 1 — Weekly on Monday0 0 1 * * — Monthly on 1st@hourly, @daily, @weekly, @monthly, @yearly — ShorthandOr human-friendly patterns:
"every 30 minutes""daily at 9am""weekly on Monday at 10am""every Monday, Wednesday, Friday at 8am"# Add a daily cleanup task
./cron_manager.py add "cleanup" --command "python cleanup.py" --schedule "@daily"
# Check status of all tasks
./cron_manager.py list --status active
# View logs for a specific task
./cron_manager.py logs "cleanup" --count 5
# Check overall health
./cron_manager.py health
All commands return JSON with standardized fields:
{
"status": "success",
"data": {
"tasks": [
{
"id": "cleanup",
"name": "Daily Cleanup",
"status": "active",
"schedule": "@daily",
"next_run": "2026-04-18T00:00:00Z",
"last_run": "2026-04-17T00:00:01Z",
"success_rate": 0.98
}
]
}
}