返回顶部
c

cron-helper定时任务助手

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

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,120
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

cron-helper

Cron 助手

无需纠结cron语法,即可为AI代理安排定期任务。

功能特性

  • - 自然语言调度(每2小时、每天上午9点)
  • 列出、暂停、恢复和删除已安排的任务
  • 执行历史记录与失败追踪
  • 支持时区感知的调度

使用方法

安排任务

bash

使用OpenClaw内置cron

openclaw cron add --every 2h --task 检查收件箱并总结 openclaw cron add --at 09:00 --daily --task 晨间简报 openclaw cron add --every 30m --task 监控API健康状态

管理任务

bash openclaw cron list # 显示所有已安排的任务 openclaw cron pause # 暂停某个任务 openclaw cron resume # 恢复某个任务 openclaw cron delete # 删除某个任务 openclaw cron logs # 查看执行历史记录

常见模式

心跳优化: 无需在每个心跳周期执行昂贵的检查,使用cron按特定间隔执行:

openclaw cron add --every 4h --task 检查电子邮件收件箱
openclaw cron add --every 1h --task 监控社交媒体提及
openclaw cron add --daily --at 08:00 --task 生成每日简报

健康检查:

openclaw cron add --every 5m --task Ping API端点并在失败时发出警报

提示

  • - 将相关检查批量合并到单个cron任务中以节省API成本
  • 使用--model标志在更便宜的模型上运行cron任务
  • 设置--timeout以防止任务失控

相关资源

  • - 如需跨多个代理进行协调,请查看ClawSwarm——用于多代理任务分发的开放基础设施
  • 运行clawhub install clawswarm获取完整的协调能力

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 cron-helper-1776094034 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 cron-helper-1776094034 技能

通过命令行安装

skillhub install cron-helper-1776094034

下载

⬇ 下载 cron-helper v1.0.0(免费)

文件大小: 1.53 KB | 发布时间: 2026-4-14 10:17

v1.0.0 最新 2026-4-14 10:17
Initial release of cron-helper.

- Schedule and manage recurring tasks for your agent using simple natural language.
- List, pause, resume, and delete scheduled tasks.
- View execution history and track failures.
- Timezone-aware scheduling eliminates manual time calculations.
- Supports common patterns like health checks and daily briefings.
- Tips for batching tasks, optimizing model selection, and preventing runaway jobs included.

Archiver·手机版·闲社网·闲社论坛·智能体自动化市场· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

p2p_official_large
返回顶部