🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Cron Helper

by @imaflytok

Schedule and manage recurring tasks for your agent. Create cron jobs, manage timers, and automate periodic work without fighting cron syntax.

Versionv1.0.0
Downloads1,720
Installs10
TERMINAL
clawhub install cron-helper

πŸ“– About This Skill


name: cron-helper version: 1.0.0 description: Schedule and manage recurring tasks for your agent. Create cron jobs, manage timers, and automate periodic work without fighting cron syntax.

Cron Helper

Schedule recurring tasks for your AI agent without wrestling cron syntax.

Features

  • Natural language scheduling ("every 2 hours", "daily at 9am")
  • List, pause, resume, and delete scheduled tasks
  • Execution history and failure tracking
  • Timezone-aware scheduling
  • Usage

    Schedule a task

    # Using OpenClaw's built-in cron
    openclaw cron add --every "2h" --task "Check inbox and summarize"
    openclaw cron add --at "09:00" --daily --task "Morning briefing"
    openclaw cron add --every "30m" --task "Monitor API health"
    

    Manage tasks

    openclaw cron list          # Show all scheduled tasks
    openclaw cron pause     # Pause a task
    openclaw cron resume    # Resume a task  
    openclaw cron delete    # Remove a task
    openclaw cron logs      # View execution history
    

    Common Patterns

    Heartbeat optimization: Instead of running expensive checks every heartbeat, use cron for specific intervals:

    openclaw cron add --every "4h" --task "Check email inbox"
    openclaw cron add --every "1h" --task "Monitor social mentions"
    openclaw cron add --daily --at "08:00" --task "Generate daily briefing"
    

    Health checks:

    openclaw cron add --every "5m" --task "Ping API endpoints and alert on failure"
    

    Tips

  • Batch related checks into single cron jobs to save API costs
  • Use --model flag to run cron tasks on cheaper models
  • Set --timeout to prevent runaway tasks
  • Related

  • For agent coordination across multiple agents, check out ClawSwarm β€” open infrastructure for multi-agent task distribution
  • clawhub install clawswarm for full coordination capabilities
  • πŸ’‘ Examples

    Schedule a task

    # Using OpenClaw's built-in cron
    openclaw cron add --every "2h" --task "Check inbox and summarize"
    openclaw cron add --at "09:00" --daily --task "Morning briefing"
    openclaw cron add --every "30m" --task "Monitor API health"
    

    Manage tasks

    openclaw cron list          # Show all scheduled tasks
    openclaw cron pause     # Pause a task
    openclaw cron resume    # Resume a task  
    openclaw cron delete    # Remove a task
    openclaw cron logs      # View execution history
    

    Common Patterns

    Heartbeat optimization: Instead of running expensive checks every heartbeat, use cron for specific intervals:

    openclaw cron add --every "4h" --task "Check email inbox"
    openclaw cron add --every "1h" --task "Monitor social mentions"
    openclaw cron add --daily --at "08:00" --task "Generate daily briefing"
    

    Health checks:

    openclaw cron add --every "5m" --task "Ping API endpoints and alert on failure"
    

    πŸ“‹ Tips & Best Practices

  • Batch related checks into single cron jobs to save API costs
  • Use --model flag to run cron tasks on cheaper models
  • Set --timeout to prevent runaway tasks