SKILL·98A987

c-cron

daxaur
更新于 1 month ago
9 次查看
153
11
153
在 GitHub 上查看
设计cronschedulinglaunchctlautomation

关于

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.

快速安装

Claude Code

推荐
主要方式
npx skills add daxaur/openpaw -a claude-code
插件命令备选方式
/plugin add https://github.com/daxaur/openpaw
Git 克隆备选方式
git clone https://github.com/daxaur/openpaw.git ~/.claude/skills/c-cron

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

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 仓库

daxaur/openpaw
路径: skills/c-cron
0
ai-agentanthropicautomationclaudeclaude-codecli
FAQ

Frequently asked questions

What is the c-cron skill?

c-cron is a Claude Skill by daxaur. Skills package instructions and resources that Claude loads on demand, so Claude can perform c-cron-related tasks without extra prompting.

How do I install c-cron?

Use the install commands on this page: add c-cron to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.

What category does c-cron belong to?

c-cron is in the Design category, tagged cron, scheduling, launchctl and automation.

Is c-cron free to use?

Yes. c-cron is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.

相关推荐技能

executing-plans
设计

该Skill用于当开发者提供完整实施计划时,以受控批次方式执行代码实现。它会先审阅计划并提出疑问,然后分批次执行任务(默认每批3个任务),并在批次间暂停等待审查。关键特性包括分批次执行、内置检查点和架构师审查机制,确保复杂系统实现的可控性。

查看技能
requesting-code-review
设计

该Skill可在完成任务、实现主要功能或合并代码前自动调度代码审查子代理,确保实现符合需求和计划。它支持通过指定git SHA范围进行精准的代码变更审查,帮助开发者在关键节点及时发现潜在问题。核心原则是"早审查、勤审查",适用于开发流程的各个关键阶段。

查看技能
connect-mcp-server
设计

这个Skill指导开发者如何将MCP服务器连接到Claude Code,支持HTTP、stdio和SSE三种传输协议。它涵盖了从安装配置到认证安全的完整流程,适用于集成GitHub、Notion、数据库等外部服务。当开发者需要添加集成、配置外部工具或提及MCP相关功能时,这个Skill能提供实用的操作指南。

查看技能
web-cli-teleport
设计

该Skill帮助开发者根据任务特性选择Claude Code的Web或CLI界面,并指导如何在两种环境间无缝迁移会话。它能分析任务复杂度、迭代需求等要素,推荐最优工作界面和工作流。关键特性包括会话状态管理、环境切换指导和上下文优化建议。

查看技能