Back to Skills

c-cron

daxaur
Updated 2 days ago
5 views
143
6
143
View on GitHub
Designcronschedulinglaunchctlautomation

About

c-cron provides tools to manage scheduled tasks via cron jobs and macOS services through launchctl. It offers a friendly lunchy-go wrapper for launchctl operations alongside standard crontab commands for scheduling. Use this skill to automate recurring tasks and control system services on Unix/macOS environments.

Quick Install

Claude Code

Recommended
Primary
npx skills add daxaur/openpaw -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/daxaur/openpaw
Git CloneAlternative
git clone https://github.com/daxaur/openpaw.git ~/.claude/skills/c-cron

Copy and paste this command in Claude Code to install this skill

Documentation

Scheduling & Cron

lunchy-go (launchctl wrapper)

Friendly wrapper around macOS launchctl:

# List all services (pattern match)
lunchy-go ls
lunchy-go ls redis

# Start a service
lunchy-go start com.example.service
lunchy-go start redis    # pattern match

# Stop a service
lunchy-go stop redis

# Restart a service
lunchy-go restart redis

# Show service status
lunchy-go status redis

crontab (built-in)

Standard Unix cron scheduler:

# List current cron jobs
crontab -l

# Edit cron jobs (opens editor)
crontab -e

# Cron syntax: MIN HOUR DOM MON DOW command
# Every day at 9am:
# 0 9 * * * /path/to/script.sh
# Every 5 minutes:
# */5 * * * * /path/to/script.sh
# Weekdays at 8:30am:
# 30 8 * * 1-5 /path/to/script.sh

Guidelines

  • Prefer lunchy-go for macOS services (launchd plists)
  • Use crontab for simple recurring commands
  • Always use full paths in cron jobs
  • Redirect output to log files: command >> /tmp/cron.log 2>&1
  • Test commands manually before scheduling them

GitHub Repository

daxaur/openpaw
Path: skills/c-cron
0
ai-agentanthropicautomationclaudeclaude-codecli

Related Skills

executing-plans

Design

Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.

View skill

requesting-code-review

Design

This skill dispatches a code-reviewer subagent to analyze code changes against requirements before proceeding. It should be used after completing tasks, implementing major features, or before merging to main. The review helps catch issues early by comparing the current implementation with the original plan.

View skill

connect-mcp-server

Design

This skill provides a comprehensive guide for developers to connect MCP servers to Claude Code using HTTP, stdio, or SSE transports. It covers installation, configuration, authentication, and security for integrating external services like GitHub, Notion, and custom APIs. Use it when setting up MCP integrations, configuring external tools, or working with Claude's Model Context Protocol.

View skill

web-cli-teleport

Design

This skill helps developers choose between Claude Code Web and CLI interfaces based on task analysis, then enables seamless session teleportation between these environments. It optimizes workflow by managing session state and context when switching between web, CLI, or mobile. Use it for complex projects requiring different tools at various stages.

View skill