Clawdbot ToolsDocumentedScanned

cron-creator

Create Clawdbot cron jobs from natural language.

Share:

Installation

npx clawhub@latest install cron-creator

View the full skill documentation and source below.

Documentation

Cron Creator

Create Clawdbot cron jobs automatically from natural language requests.

Quick Install (One Command)

Run this in your terminal:

bash -c "$(curl -sL )"

Or manually:

# Install skill
mkdir -p ~/.clawdbot/skills
git clone  ~/.clawdbot/skills/cron-creator

# Configure and restart
clawdbot gateway restart

That's it! Then just say things like:

  • "Create a daily Ikigai reminder at 8:45am"
  • "Remind me to drink water every 2 hours"
  • "Set up a weekly check-in on Mondays at 9am"

What It Does

  • Hears your request to create a cron job

  • Parses time, frequency, channel, and message

  • Creates the cron job automatically

  • Confirms it's done
  • Trigger Patterns

    Say things like:

    • "Create a cron job for..."

    • "Set up a reminder..."

    • "Schedule a..."

    • "Remind me to..."

    • "Create a daily/weekly check-in..."

    • "Add a recurring..."


    Examples

    You SayWhat Happens
    "Create a daily Ikigai reminder at 8:45am"Creates daily 8:45am Ikigai journal prompt
    "Remind me to drink water every 2 hours"Creates hourly water reminder
    "Set up a weekly check-in on Mondays at 9am"Creates Monday 9am weekly review
    "Wake me at 7am every day"Creates daily 7am alarm/reminder
    "Send me a quote every morning at 6:30"Creates daily quote at 6:30am

    Supported Time Formats

    You SayCron
    "8am"0 8 * * *
    "8:45am"45 8 * * *
    "9pm"0 21 * * *
    "noon"0 12 * * *
    "midnight"0 0 * * *

    Supported Frequencies

    You SayCron
    "daily" / "every day"Daily at specified time
    "weekdays"Mon-Fri at specified time
    "mondays" / "every monday"Weekly on Monday
    "hourly" / "every hour"Every hour at :00
    "every 2 hours"0 */2 * * *
    "weekly"Weekly (defaults to Monday)
    "monthly"Monthly (1st of month)

    Channels

    Just mention the channel in your request:

    • "on WhatsApp" → WhatsApp

    • "on Telegram" → Telegram

    • "on Slack" → Slack

    • "on Discord" → Discord


    Default: WhatsApp

    Default Messages

    The skill auto-generates appropriate messages:

    TypeDefault Message
    IkigaiMorning journal with purpose, food, movement, connection, gratitude
    Water"💧 Time to drink water! Stay hydrated! 🚰"
    Morning"🌅 Good morning! Time for your daily check-in."
    Evening"🌙 Evening check-in! How was your day?"
    WeeklyWeekly goals review
    Default"⏰ Your scheduled reminder is here!"

    How It Works

  • Install the skill (see Quick Install above)

  • Chat naturally: "Create a daily reminder at 8am"

  • Done! The cron job is created automatically
  • For Developers

    Files

    • SKILL.md - This documentation
    • scripts/cron_creator.py - Natural language parser
    • install.sh - Automatic installer script

    The Parser

    The cron_creator.py script:
    • Extracts time, frequency, channel, destination from natural language
    • Generates appropriate clawdbot cron add command
    • Returns JSON with parsed fields and command

    Manual Testing

    # Test the parser
    python3 scripts/cron_creator.py "Create a daily reminder at 8:45am"
    
    # Output includes:
    # - parsed time, frequency, channel
    # - generated cron expression
    # - full clawdbot cron add command

    Configuration

    The install script automatically configures:
    • Clawdbot tools.exec.host=gateway (allows running clawdbot commands)
    • Skill files in ~/.clawdbot/skills/cron-creator
    • Gateway restart to apply changes

    Troubleshooting

    Skill not loading?

    clawdbot skills list | grep cron

    Cron not created?

    # Check clawdbot is running
    clawdbot status
    
    # Check cron jobs
    clawdbot cron list

    Need to reinstall?

    # Run install again
    bash -c "$(curl -sL )"

    GitHub

    Report issues or contribute there!