cron-schedulerCreate, list, modify, and remove scheduled cron jobs to automate system tasks using simplified cron syntax and manage output logging.
Install via ClawdBot CLI:
clawdbot install picaye/cron-schedulerManage scheduled tasks and automation on your system using cron.
Category: automation, productivity
API Key Required: No
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.
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 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
# Edit crontab interactively
crontab -e
# Or remove a specific line
crontab -l | grep -v "PATTERN_TO_REMOVE" | crontab -
# 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
# Run the command manually first to make sure it works
COMMAND_HERE
# Check it produces expected output
echo "Exit code: $?"
āāāāāāāāāāāāāā minute (0-59)
ā āāāāāāāāāāāāāā hour (0-23)
ā ā āāāāāāāāāāāāāā day of month (1-31)
ā ā ā āāāāāāāāāāāāāā month (1-12)
ā ā ā ā āāāāāāāāāāāāāā day of week (0-7, 0 and 7 = Sunday)
ā ā ā ā ā
* * * * * command
# 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
# 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 -
# 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
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
timedatectlGenerated Mar 1, 2026
Schedule nightly database backups to prevent data loss for an online store. This ensures transaction records and customer data are securely archived, supporting disaster recovery and compliance requirements.
Set up hourly disk space checks and weekly log cleanups to maintain server performance. This automates routine maintenance, reducing manual oversight and preventing system failures in managed IT environments.
Automate API calls to update social media posts or website content on a daily schedule. This keeps marketing campaigns timely and reduces manual effort for content management teams.
Generate and email financial reports every Monday morning to stakeholders. This streamlines weekly performance reviews and ensures consistent delivery without manual intervention.
Monitor and restart crashed application services every 5 minutes to maintain uptime. This enhances reliability for cloud-based software, minimizing downtime and user disruptions.
Offer a managed cron scheduling service with monitoring and alerts for small businesses. Charge a monthly fee for setup, maintenance, and support, generating recurring revenue from clients needing reliable task automation.
Provide one-time consulting to design and implement cron jobs for specific client workflows, such as backups or data processing. Revenue comes from project-based fees and potential follow-up support contracts.
Develop and sell plugins or integrations that embed cron scheduling into existing DevOps platforms. Monetize through licensing fees or premium features, targeting tech teams seeking streamlined automation solutions.
š¬ Integration Tip
Always test commands manually before scheduling to avoid errors, and use absolute paths in cron jobs since cron runs with a minimal environment.
A fast Rust-based headless browser automation CLI with Node.js fallback that enables AI agents to navigate, click, type, and snapshot pages via structured commands.
Automate web browser interactions using natural language via CLI commands. Use when the user asks to browse websites, navigate web pages, extract data from websites, take screenshots, fill forms, click buttons, or interact with web applications.
Advanced desktop automation with mouse, keyboard, and screen control
Manage n8n workflows and automations via API. Use when working with n8n workflows, executions, or automation tasks - listing workflows, activating/deactivating, checking execution status, manually triggering workflows, or debugging automation issues.
Design and implement automation workflows to save time and scale operations as a solopreneur. Use when identifying repetitive tasks to automate, building workflows across tools, setting up triggers and actions, or optimizing existing automations. Covers automation opportunity identification, workflow design, tool selection (Zapier, Make, n8n), testing, and maintenance. Trigger on "automate", "automation", "workflow automation", "save time", "reduce manual work", "automate my business", "no-code automation".
Browser automation via Playwright MCP server. Navigate websites, click elements, fill forms, extract data, take screenshots, and perform full browser automation workflows.