/install clawhub-skill-smart-cron
Smart Cron — Natural Language Cron Scheduler for OpenClaw
Schedule any OpenClaw task using plain English. No cron syntax required. Just say what you want, when you want it.
What It Does
- Natural language scheduling — "every weekday at 9am", "every 30 minutes", "first Monday of month"
- Full cron job lifecycle — add, list, remove, pause, resume
- Timezone-aware — schedule in any timezone (UTC, Europe/Bucharest, etc.)
- Failure alerts — WhatsApp/Telegram alert if a job fails
- Next run preview — shows exactly when each job runs next
- Run logs — persisted history of every execution
- Zero external dependencies — uses system cron + OpenClaw orchestration
Quick Start
# Add a daily digest job
smart-cron add "every weekday at 9am" --task "summarize my emails"
# Add an interval job
smart-cron add "every 30 minutes" --task "check server health"
# Monthly job
smart-cron add "first Monday of month at 10am" --task "generate monthly report"
# List all scheduled jobs
smart-cron list
# Show next run times
smart-cron next
# View job logs
smart-cron logs
# Pause a job (without deleting it)
smart-cron pause \x3Cjob-id>
# Resume paused job
smart-cron resume \x3Cjob-id>
# Remove a job
smart-cron remove \x3Cjob-id>
Commands
| Command | Description |
|---|---|
smart-cron add \x3Cschedule> --task \x3Ctask> |
Schedule a new task |
smart-cron list |
List all jobs with status |
smart-cron remove \x3Cid> |
Remove a job |
smart-cron next |
Show next run time for all jobs |
smart-cron run \x3Cid> |
Run a job immediately |
smart-cron logs [id] |
View execution logs |
smart-cron pause \x3Cid> |
Pause a job |
smart-cron resume \x3Cid> |
Resume a paused job |
Supported Schedule Expressions
Intervals
every 5 minutes→*/5 * * * *every hour→0 * * * *every 2 hours→0 */2 * * *every 30 minutes→*/30 * * * *
Daily
every day at 9am→0 9 * * *every weekday at 9am→0 9 * * 1-5every weekend at noon→0 12 * * 6,0daily at midnight→0 0 * * *
Weekly
every Monday at 8am→0 8 * * 1every Friday at 5pm→0 17 * * 5
Monthly
first Monday of month→ calculated and re-scheduled1st of month at 9am→0 9 1 * *last day of month→ calculated dynamically
Custom cron (passthrough)
0 */6 * * *→ runs as-is for advanced users
Timezone Support
# Schedule in your local timezone
smart-cron add "every weekday at 9am" \
--task "daily standup reminder" \
--timezone Europe/Bucharest
# List shows times in both UTC and local tz
Failure Alerts
When a scheduled task fails, Smart Cron sends an alert via your configured channel:
⚠️ Smart Cron: "daily standup reminder" FAILED
Time: 09:00 EET (07:00 UTC)
Error: Task timed out after 300s
Last success: yesterday at 09:00
Logs: smart-cron logs job-123
Data Storage
All job configs and logs stored locally at ~/.openclaw/workspace/smart-cron-data/. SQLite, no telemetry.
Configuration
Edit ~/.openclaw/workspace/smart-cron-data/config.json:
{
"default_timezone": "Europe/Bucharest",
"alert_channel": "whatsapp",
"alert_on_failure": true,
"log_retention_days": 30
}
Use Cases
Morning Briefing
smart-cron add "every weekday at 8am" --task "summarize overnight emails and news"
Uptime Monitoring
smart-cron add "every 5 minutes" --task "check all APIs and alert if any is down"
Weekly Reports
smart-cron add "every Friday at 5pm" --task "generate weekly work summary and log to MEMORY.md"
Monthly Cleanup
smart-cron add "1st of month at 2am" --task "clean old logs and archive memory files older than 90 days"
Requirements
- OpenClaw 1.0+
- Python 3.8+ (for schedule parsing)
- cron daemon (standard on Linux/macOS)
Source & Issues
- Source: https://github.com/mariusfit/smart-cron
- Issues: https://github.com/mariusfit/smart-cron/issues
- Author: @mariusfit
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install clawhub-skill-smart-cron - 安装完成后,直接呼叫该 Skill 的名称或使用
/clawhub-skill-smart-cron触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Clawhub Skill Smart Cron 是什么?
Schedule OpenClaw tasks using natural language with full cron lifecycle, timezone support, failure alerts, and execution logs without needing cron syntax. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 493 次。
如何安装 Clawhub Skill Smart Cron?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawhub-skill-smart-cron」即可一键安装,无需额外配置。
Clawhub Skill Smart Cron 是免费的吗?
是的,Clawhub Skill Smart Cron 完全免费(开源免费),可自由下载、安装和使用。
Clawhub Skill Smart Cron 支持哪些平台?
Clawhub Skill Smart Cron 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Clawhub Skill Smart Cron?
由 mariusfit(@mariusfit)开发并维护,当前版本 v1.0.0。