← Back to Skills Marketplace
66
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install schedule-task
Description
Schedule 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...
README (SKILL.md)
Schedule Task
Schedule and manage recurring tasks using cron.
Quick Start
# 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
Core Features
- Cron Expression Parser: Validate and understand cron expressions
- Task Management: Add, list, remove scheduled tasks
- Health Checks: Monitor task execution status
- Notifications: Alert on task failure
Cron Format
┌───────────── minute (0 - 59)
│ ┌───────────── hour (0 - 23)
│ │ ┌───────────── day of month (1 - 31)
│ │ │ ┌───────────── month (1 - 12)
│ │ │ │ ┌───────────── day of week (0 - 6)
│ │ │ │ │
* * * * *
Common Examples
| 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 |
Script Usage
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
Options
--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
Examples
Daily Backup
python scripts/scheduler.py add \
--cron "0 2 * * *" \
--command "/home/user/backup.sh" \
--name "daily-backup" \
--log /var/log/backup.log
Hourly Sync
python scripts/scheduler.py add \
--cron "0 * * *" \
--command "sync-data.sh" \
--name "hourly-sync"
Weekly Report
python scripts/scheduler.py add \
--cron "0 9 * * 1" \
--command "generate-report.sh" \
--name "weekly-report"
Integration
With Web Monitor
# 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"
With Telegram Bot
# Send daily summary
python scripts/scheduler.py add \
--cron "0 8 * * *" \
--command "telegram-send 'Good morning! Daily summary ready'"
Best Practices
- Use absolute paths in commands
- Log output for debugging
- Set timeouts to prevent hanging tasks
- Test commands manually before scheduling
- Use UTC for server schedules
Usage Guidance
Only use this after reviewing the exact cron command and schedule. Back up your current crontab first, do not rely on the advertised notification/health/timeout features, and verify with crontab -l after adding, disabling, or removing tasks.
Capability Analysis
Type: OpenClaw Skill
Name: schedule-task
Version: 1.0.0
The skill provides a utility to manage system crontabs via 'scripts/scheduler.py'. It is classified as suspicious because the 'rebuild_crontab' function is destructive; it overwrites the user's entire crontab using only the tasks stored in its local JSON file, which would result in the loss of any pre-existing cron jobs not managed by this tool. While the ability to schedule arbitrary commands is the stated purpose, the lack of input validation and the potential for unintended system configuration loss represent significant security and reliability risks.
Capability Assessment
Purpose & Capability
The purpose is coherent with scheduling recurring tasks, but the implementation grants high-impact authority to install persistent cron commands and rewrite the user's crontab.
Instruction Scope
The documented examples are user-directed, but the skill does not clearly require confirmation of the exact command, schedule, and crontab changes before making persistent modifications.
Install Mechanism
There is no install spec and metadata declares no required binaries or OS restriction, while the code requires a Unix-like cron environment and the crontab command.
Credentials
Remove, enable, and disable operations rebuild the crontab from the skill's own task file rather than preserving unrelated user cron entries.
Persistence & Privilege
The skill creates persistent cron jobs, and the removal/disable logic can fail to clear the crontab when no managed tasks remain.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install schedule-task - After installation, invoke the skill by name or use
/schedule-task - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Frequently Asked Questions
What is Schedule Task?
Schedule 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 66 downloads so far.
How do I install Schedule Task?
Run "/install schedule-task" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Schedule Task free?
Yes, Schedule Task is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Schedule Task support?
Schedule Task is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Schedule Task?
It is built and maintained by BIN (@dinghaibin); the current version is v1.0.0.
More Skills