Smart Cron
by @mariusfit
Schedule and manage OpenClaw tasks using natural language with timezone support, failure alerts, logs, and full cron lifecycle commands.
clawhub install smart-cronπ About This Skill
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
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 listShow next run times
smart-cron nextView job logs
smart-cron logsPause a job (without deleting it)
smart-cron pause Resume paused job
smart-cron resume Remove a job
smart-cron remove
Commands
| Command | Description |
|---------|-------------|
| smart-cron add | Schedule a new task |
| smart-cron list | List all jobs with status |
| smart-cron remove | Remove a job |
| smart-cron next | Show next run time for all jobs |
| smart-cron run | Run a job immediately |
| smart-cron logs [id] | View execution logs |
| smart-cron pause | Pause a job |
| smart-cron resume | 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 * * 5Monthly
first Monday of month β calculated and re-scheduled1st of month at 9am β 0 9 1 * *last day of month β calculated dynamicallyCustom cron (passthrough)
0 */6 * * * β runs as-is for advanced usersTimezone Support
# Schedule in your local timezone
smart-cron add "every weekday at 9am" \
--task "daily standup reminder" \
--timezone Europe/BucharestList 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
Source & Issues
β‘ When to Use
π‘ Examples
# 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 listShow next run times
smart-cron nextView job logs
smart-cron logsPause a job (without deleting it)
smart-cron pause Resume paused job
smart-cron resume Remove a job
smart-cron remove
βοΈ Configuration
Edit ~/.openclaw/workspace/smart-cron-data/config.json:
{
"default_timezone": "Europe/Bucharest",
"alert_channel": "whatsapp",
"alert_on_failure": true,
"log_retention_days": 30
}