Install
openclaw skills install schedule-taskSchedule and run recurring tasks on Linux/Unix systems. Use when user wants to set up cron jobs, scheduled backups, periodic data sync, automated reports, or any recurring task automation.
openclaw skills install schedule-taskSchedule and manage recurring tasks using cron.
# Add a scheduled task
python scripts/scheduler.py add --cron "0 9 * * *" --command "backup.sh"
# List all tasks
python scripts/scheduler.py list
# Remove a task
python scripts/scheduler.py remove --id 1
┌───────────── minute (0 - 59)
│ ┌───────────── hour (0 - 23)
│ │ ┌───────────── day of month (1 - 31)
│ │ │ ┌───────────── month (1 - 12)
│ │ │ │ ┌───────────── day of week (0 - 6)
│ │ │ │ │
* * * * *
| Expression | Meaning |
|---|---|
0 9 * * * | Daily at 9 AM |
0 * * * * | Every hour |
*/15 * * * * | Every 15 minutes |
0 0 * * 0 | Weekly on Sunday |
0 0 1 * * | Monthly on 1st |
python scripts/scheduler.py [COMMAND] [OPTIONS]
Commands:
add Add a new scheduled task
list List all scheduled tasks
remove Remove a task
enable Enable a disabled task
disable Disable a task without removing
log Show task execution log
health Check task health status
--cron TEXT Cron expression (required for add)
--command TEXT Command to run (required for add)
--name TEXT Task name for identification
--log PATH Log file path
--notify EMAIL Email notification on failure
--timeout SECS Task timeout in seconds
python scripts/scheduler.py add \
--cron "0 2 * * *" \
--command "/home/user/backup.sh" \
--name "daily-backup" \
--log /var/log/backup.log
python scripts/scheduler.py add \
--cron "0 * * *" \
--command "sync-data.sh" \
--name "hourly-sync"
python scripts/scheduler.py add \
--cron "0 9 * * 1" \
--command "generate-report.sh" \
--name "weekly-report"
# Monitor website every hour
python scripts/scheduler.py add \
--cron "0 * * *" \
--command "python /path/to/web-monitor/scripts/monitor.py --url https://example.com --compare last.json"
# Send daily summary
python scripts/scheduler.py add \
--cron "0 8 * * *" \
--command "telegram-send 'Good morning! Daily summary ready'"