โ† All skills
Tencent SkillHub ยท Developer Tools

Cron Scheduler

Create, list, modify, and remove scheduled cron jobs to automate system tasks using simplified cron syntax and manage output logging.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Create, list, modify, and remove scheduled cron jobs to automate system tasks using simplified cron syntax and manage output logging.

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 13 sections Open source page

Cron Scheduler

Manage scheduled tasks and automation on your system using cron. Category: automation, productivity API Key Required: No

What It Does

Create, manage, and monitor scheduled tasks (cron jobs) on your machine. Automate backups, health checks, cleanup scripts, API calls, notifications โ€” anything that should run on a schedule. Your agent handles the cron syntax so you don't have to.

List all cron jobs

echo "=== User crontab ===" crontab -l 2>/dev/null || echo "(empty)" echo "" echo "=== System cron ===" ls /etc/cron.d/ 2>/dev/null echo "" echo "=== Cron directories ===" echo "Hourly: $(ls /etc/cron.hourly/ 2>/dev/null | wc -l) jobs" echo "Daily: $(ls /etc/cron.daily/ 2>/dev/null | wc -l) jobs" echo "Weekly: $(ls /etc/cron.weekly/ 2>/dev/null | wc -l) jobs" echo "Monthly: $(ls /etc/cron.monthly/ 2>/dev/null | wc -l) jobs"

Add a cron job

# Add to user crontab (crontab -l 2>/dev/null; echo "SCHEDULE COMMAND") | crontab - # Common schedules: # Every minute: * * * * * # Every 5 minutes: */5 * * * * # Every hour: 0 * * * * # Every day at 2am: 0 2 * * * # Every Monday 9am: 0 9 * * 1 # Every 1st of month: 0 0 1 * * # Weekdays at 8am: 0 8 * * 1-5

Remove a cron job

# Edit crontab interactively crontab -e # Or remove a specific line crontab -l | grep -v "PATTERN_TO_REMOVE" | crontab -

Check cron logs

# Recent cron activity grep CRON /var/log/syslog | tail -20 # Or on systems using journald journalctl -u cron --since "1 hour ago" --no-pager | tail -20

Test a cron command

# Run the command manually first to make sure it works COMMAND_HERE # Check it produces expected output echo "Exit code: $?"

Cron syntax reference

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ minute (0-59) โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ hour (0-23) โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ day of month (1-31) โ”‚ โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ month (1-12) โ”‚ โ”‚ โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ day of week (0-7, 0 and 7 = Sunday) โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ * * * * * command

Common patterns

# Disk space alert daily at 8am 0 8 * * * df -h / | awk 'NR==2 && $5+0 > 80 {print "Disk alert: " $5 " used"}' | mail -s "Disk Warning" you@email.com # Clean /tmp weekly 0 3 * * 0 find /tmp -type f -mtime +7 -delete # Backup database nightly 0 2 * * * pg_dump mydb > /backups/db_$(date +\%Y\%m\%d).sql # Restart a service if it crashes (every 5 min check) */5 * * * * systemctl is-active myservice || systemctl restart myservice # Log system stats every 15 minutes */15 * * * * echo "$(date): $(uptime)" >> /var/log/system-stats.log

Environment variables in cron

# Cron runs with minimal environment. Set what you need: (crontab -l 2>/dev/null; echo "PATH=/usr/local/bin:/usr/bin:/bin SHELL=/bin/bash 0 2 * * * /home/user/backup.sh >> /var/log/backup.log 2>&1") | crontab -

Redirect output (important!)

# Log output * * * * * command >> /var/log/myjob.log 2>&1 # Discard output * * * * * command > /dev/null 2>&1 # Email output (if mail is configured) MAILTO=you@email.com 0 8 * * * command

Examples

User: "Run my backup script every night at 2am" โ†’ (crontab -l 2>/dev/null; echo "0 2 * * * /home/user/backup.sh >> /var/log/backup.log 2>&1") | crontab - User: "Check disk space every hour and alert me if it's over 80%" โ†’ Create a check script + cron job User: "What scheduled tasks are running?" โ†’ List all crontabs and system cron directories User: "Stop the daily cleanup job" โ†’ Find and remove the specific cron entry

Constraints

Cron runs with minimal PATH โ€” use absolute paths for commands Always redirect output (>> logfile 2>&1) or cron fills up mail spool Cron uses the system timezone โ€” check with timedatectl Minimum resolution is 1 minute โ€” for sub-minute, use a loop in a script User crontabs don't survive user deletion Test commands manually before scheduling

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
1 Docs
  • SKILL.md Primary doc