Token导航 LogoToken导航

Agent Skill · 研究检索

scheduled-tasks(计划任务)

scheduled-tasks 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

scheduled-tasks 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为执行命令;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 16,002。

总安装 7,456周安装 317GitHub Stars 公开资料未说明下载 2,612核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
2.1.7

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:scheduled-tasks(计划任务)
来源仓库:https://github.com/chowlee-cc/scheduled-tasks
安装命令:
openclaw skills install scheduled-tasks
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install scheduled-tasks

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

管理 OpenClaw 计划任务,支持提醒、通知与自动化工作流。用于创建定时提醒、周期性通知或复杂任务编排。scheduled-tasks 属于研究检索类 Skill,可作为该场景下的辅助能力补充。通过命令行或配置接口添加和管理各类定时作业。需具备系统级任务调度权限,可能涉及敏感操作请谨慎授权。

建议测试任务执行环境,确保依赖服务正常运行。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install scheduled-tasks;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

scheduled-tasks 怎么安装?

在终端执行 openclaw skills install scheduled-tasks。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

scheduled-tasks 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

scheduled-tasks 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 openclaw skills install scheduled-tasks 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

scheduled-tasks 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

scheduled-tasks 用的人多吗?

公开数据是累计安装 7,456 次,近一周安装 317 次,下载 2,612 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

scheduled-tasks 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
scheduled-tasks

计划任务 · 本页

7,456—执行命令MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
scheduled-tasks
version
2.1.7
description
>

Scheduled Tasks Skill | 定时任务技能

OpenClaw + 飞书定时任务解决方案 Version | 版本: 2.1.7 Author | 作者: 9527 License | 许可证: MIT

Overview | 概述

This skill helps you create, manage, and troubleshoot scheduled tasks in OpenClaw. It supports two approaches: OpenClaw Cron API (recommended for Agent tasks) and System Crontab (for shell scripts).

本技能帮助您创建、管理和调试 OpenClaw 定时任务。支持两种方式:OpenClaw Cron API(推荐用于 Agent 任务)和系统 Crontab(适用于 Shell 脚本)。

When to Use | 使用场景

ScenarioUse OpenClaw CronUse System Crontab
One-time reminder (X minutes later)✅ --at❌
Scheduled Agent task with reply✅ --announce⚠️ Complex
Scheduled shell script execution⚠️ Possible✅ Direct
Requires Agent thinking/tools✅✅ via openclaw agent
Multiple Agents✅ --agent✅ --agent
Model/thinking override✅ --model --thinking❌
Auto-retry on failure✅ Built-in❌ Manual
场景用 OpenClaw Cron用系统 Crontab
一次性提醒(X 分钟后)✅ --at❌
定时让 Agent 执行任务并回复✅ --announce⚠️ 复杂
定时执行 Shell 脚本⚠️ 可以✅ 更直接
需要 Agent 思考和工具调用✅✅ 通过 openclaw agent
需要指定不同 Agent✅ --agent✅ --agent
需要模型/思考级别覆盖✅ --model --thinking❌
任务失败自动重试✅ 内置❌ 需自行处理

Principle | 原则: Prefer OpenClaw Cron unless the task is essentially running a script without Agent involvement. 优先使用 OpenClaw Cron,除非任务本质是运行脚本且不需要 Agent 参与。


Quick Start | 快速开始

One-Time Reminder | 一次性提醒

# Remind in 20 minutes | 20 分钟后提醒
openclaw cron add \
  --name "Water Reminder | 喝水提醒" \
  --at "20m" \
  --session main \
  --system-event "Time to drink water! 💧 | 主人,该喝水了 💧" \
  --wake now \
  --delete-after-run

Daily Scheduled Task | 每日定时任务

# Daily news briefing at 08:00 | 每天 08:00 新闻播报
openclaw cron add \
  --name "Daily News | 每日新闻" \
  --cron "0 8 * * *" \
  --tz "Asia/Shanghai" \
  --session isolated \
  --agent <agent-id> \
  --message "Search today's news and send to user | 搜索今日新闻并推送" \
  --announce \
  --channel feishu \
  --to "user:<user_open_id>"

Method 1: OpenClaw Cron API (Recommended) | 方式一:OpenClaw Cron API(推荐)

Basic Commands | 基础命令

# List all tasks | 查看所有任务
openclaw cron list

# Run task manually | 手动触发任务
openclaw cron run <jobId>

# View run history | 查看运行历史
openclaw cron runs --id <jobId>

# Edit task | 编辑任务
openclaw cron edit <jobId> --message "New message | 新消息"

# Disable task | 禁用任务
openclaw cron edit <jobId> --enabled false

# Remove task | 删除任务
openclaw cron remove <jobId>

Common Patterns | 常见模式

Pattern 1: One-Time Reminder | 一次性提醒
openclaw cron add \
  --name "Meeting Reminder | 会议提醒" \
  --at "2026-03-27T09:00:00+08:00" \
  --session main \
  --system-event "Meeting at 9 AM! | 9 点有会议,请准备" \
  --wake now \
  --delete-after-run
Pattern 2: Daily Agent Task | 每日 Agent 任务
openclaw cron add \
  --name "Daily News | 每日新闻" \
  --cron "0 16 * * *" \
  --tz "Asia/Shanghai" \
  --session isolated \
  --agent <agent-id> \
  --message "Search today's news | 搜索今日新闻" \
  --announce \
  --channel feishu \
  --to "user:<user_open_id>"
Pattern 3: Weekday Report | 工作日报告
openclaw cron add \
  --name "Daily Work Report | 今日工作简报" \
  --cron "55 22 * * 1-5" \
  --tz "Asia/Shanghai" \
  --session isolated \
  --message "Summarize today's work | 整理今天完成的工作" \
  --announce \
  --channel feishu \
  --to "user:<user_open_id>"

Method 2: System Crontab + openclaw agent | 方式二:系统 Crontab + openclaw agent

Script Template | 脚本模板

Create script at scripts/daily-task.sh:

#!/bin/bash
# Daily scheduled task script | 定时任务脚本
# Cron: 0 16 * * * (Daily at 16:00 | 每天 16:00)

set -e

export PATH="/usr/local/bin:/usr/bin:/bin:$PATH"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

echo "[$(date '+%Y-%m-%d %H:%M:%S')] Task started | 任务开始..."

openclaw agent \
  --agent <agent-id> \
  --deliver \
  --reply-account <feishu-account-id> \
  --reply-to "user:<user_open_id>" \
  -m "Your task message | 你的任务指令"

echo "[$(date '+%Y-%m-%d %H:%M:%S')] Task completed | 任务完成"

Add to Crontab | 添加到 Crontab

# Edit crontab | 编辑 crontab
crontab -e

# Add line (daily at 16:00 | 每天 16:00)
0 16 * * * /path/to/scripts/daily-task.sh >> /tmp/task-name.log 2>&1

Cron Expression Reference | Cron 表达式速查

┌───────── Minute (0-59) | 分
│ ┌─────── Hour (0-23) | 时
│ │ ┌───── Day of month (1-31) | 日
│ │ │ ┌─── Month (1-12) | 月
│ │ │ │ ┌─ Day of week (0-7, 0&7=Sunday) | 周
│ │ │ │ │
* * * * *

0 9 * * *       Daily at 09:00 | 每天 09:00
0 9 * * 1-5     Weekdays at 09:00 | 工作日 09:00
*/30 * * * *    Every 30 minutes | 每 30 分钟
0 9,16 * * *    Daily at 09:00 and 16:00 | 每天 09:00 和 16:00
0 0 1 * *       First day of month | 每月第一天

Common Pitfalls & Solutions | 常见陷阱与解决方案

⚠️ Pitfall 1: Missing Delivery Target | 缺少投递目标

# ❌ WRONG | 错误
openclaw agent --agent x --deliver -m "message"
# Error: "Delivering to Feishu requires target"

# ✅ CORRECT | 正确
openclaw agent --agent x --deliver \
  --reply-account <account-id> \
  --reply-to "user:<user_open_id>" \
  -m "message"

⚠️ Pitfall 2: Message Position | Message 位置错误

# ❌ WRONG | 错误
openclaw agent --agent x --deliver "message"

# ✅ CORRECT | 正确
openclaw agent --agent x --deliver -m "message"

⚠️ Pitfall 3: Timezone Missing | 缺少时区

# ❌ WRONG (defaults to UTC) | 错误(默认 UTC)
openclaw cron add --at "2026-03-27T09:00:00" ...

# ✅ CORRECT (with timezone) | 正确(带时区)
openclaw cron add --at "2026-03-27T09:00:00+08:00" ...

# ✅ CORRECT (cron with --tz) | 正确(cron 带--tz)
openclaw cron add --cron "0 9 * * *" --tz "Asia/Shanghai" ...

⚠️ Pitfall 4: Unreliable Sleep | 不可靠的 sleep

# ❌ NOT RECOMMENDED | 不推荐
sleep 300 && openclaw agent -m "Reminder" --deliver ...

# ✅ RECOMMENDED | 推荐
openclaw cron add --at "5m" --session main \
  --system-event "Reminder" --wake now --delete-after-run

⚠️ Pitfall 5: Missing PATH in Crontab | Crontab 缺少 PATH

# ❌ WRONG | 错误
0 9 * * * /path/to/script.sh

# ✅ CORRECT (add to script header) | 正确(脚本开头添加)
#!/bin/bash
export PATH="/usr/local/bin:/usr/bin:/bin:$PATH"

⚠️ Pitfall 6: Cross-Agent Communication | 跨 Agent 通信受限

# ❌ WRONG | 错误
# sessions_send to another Agent will be rejected

# ✅ CORRECT Option 1 | 正确方式 1
openclaw agent --agent target-agent -m "task" --deliver ...

# ✅ CORRECT Option 2 | 正确方式 2
# Write to target Agent's HEARTBEAT.md

⚠️ Pitfall 7: Feishu Bot Limitations | 飞书 Bot 限制

# ❌ WRONG | 错误
# Bot A cannot send Feishu message to Bot B

# ✅ CORRECT | 正确
# Use openclaw agent command or human relay

⚠️ Pitfall 8: No Validation After Creation | 创建后未验证

# After creating, always verify | 创建后立即检查
openclaw cron list

# Test manually | 手动测试
openclaw cron run <jobId>

# Check results | 查看结果
openclaw cron runs --id <jobId>

Troubleshooting Guide | 故障排查指南

Quick Troubleshooting Table | 快速排查表

ProblemCheck Command
Task not executedopenclaw cron list (check exists & enabled)
Execution failedopenclaw cron runs --id <jobId>
No Feishu messageCheck --reply-to & Agent Feishu config
Crontab not runningtail -f /tmp/task-name.log
Wrong timeCheck timezone --tz "Asia/Shanghai"
问题排查命令
任务没执行openclaw cron list 检查是否存在且 enabled
执行失败openclaw cron runs --id <jobId> 查看历史
飞书没收到检查 --reply-to 是否正确、Agent 飞书账号是否配置
crontab 没执行tail -f /tmp/task-name.log 查看日志
时间不对检查时区配置 --tz "Asia/Shanghai"

Debug Mode | 调试模式

# Enable verbose logging | 启用详细日志
export OPENCLAW_DEBUG=1

# Run task with debug | 调试模式运行任务
openclaw cron run <jobId> --debug

# Check OpenClaw logs | 查看 OpenClaw 日志
tail -f ~/.openclaw/logs/openclaw.log

Best Practices | 最佳实践

1. Naming Convention | 命名规范

# Good | 好
--name "daily-news-briefing"
--name "daily-news-briefing | 每日新闻播报"

# Bad | 不好
--name "task1"
--name "test"

2. Timezone Always Specified | 始终指定时区

# Always include --tz for cron expressions | cron 表达式始终包含--tz
--cron "0 9 * * *" --tz "Asia/Shanghai"

# Always include timezone offset for --at | --at 始终包含时区偏移
--at "2026-03-27T09:00:00+08:00"

3. Logging | 日志记录

# For crontab scripts | Crontab 脚本
>> /tmp/task-name.log 2>&1

# For OpenClaw cron | OpenClaw cron
openclaw cron runs --id <jobId>

4. Testing | 测试

# 1. Create task | 创建任务
openclaw cron add ...

# 2. Verify exists | 验证存在
openclaw cron list

# 3. Run manually | 手动运行
openclaw cron run <jobId>

# 4. Check result | 检查结果
openclaw cron runs --id <jobId>

5. Security | 安全

# ✅ DO: Store credentials in your own environment config | 凭证存于您自己的环境配置
# ✅ DO: Use environment variables in scripts | 脚本中使用环境变量
# ❌ DON'T: Hardcode tokens in scripts | 脚本中硬编码 token
# ❌ DON'T: Put .env in skill package | 技能包中不放.env

Examples | 完整示例

Example 1: Water Reminder | 喝水提醒

openclaw cron add \
  --name "water-reminder | 喝水提醒" \
  --at "20m" \
  --session main \
  --system-event "Time to drink water! 💧 | 主人,该喝水了 💧" \
  --wake now \
  --delete-after-run

Example 2: Daily News Briefing | 每日新闻播报

openclaw cron add \
  --name "daily-news | 每日新闻" \
  --cron "0 8 * * *" \
  --tz "Asia/Shanghai" \
  --session isolated \
  --agent <agent-id> \
  --message "Search today's news and send to user | 搜索今日新闻并发给用户" \
  --announce \
  --channel feishu \
  --to "user:<user_open_id>"

Example 3: Workday Report | 工作日简报

openclaw cron add \
  --name "workday-report | 工作日简报" \
  --cron "55 22 * * 1-5" \
  --tz "Asia/Shanghai" \
  --session isolated \
  --message "Summarize today's work | 整理今天完成的工作" \
  --announce \
  --channel feishu \
  --to "user:<user_open_id>"

Example 4: System Crontab Script | 系统 Crontab 脚本

Script scripts/daily-news.sh:

#!/bin/bash
set -e
export PATH="/usr/local/bin:/usr/bin:/bin:$PATH"

echo "[$(date '+%Y-%m-%d %H:%M:%S')] Starting daily news briefing..."

openclaw agent \
  --agent <agent-id> \
  --deliver \
  --reply-account <feishu-account-id> \
  --reply-to "user:<user_open_id>" \
  -m "Search today's news and send to user"

echo "[$(date '+%Y-%m-%d %H:%M:%S')] Completed"

Crontab entry:

0 8 * * * /path/to/scripts/daily-news.sh >> /tmp/daily-news.log 2>&1

API Reference | API 参考

OpenClaw Cron Commands | OpenClaw Cron 命令

CommandDescription
openclaw cron addCreate new scheduled task
openclaw cron listList all tasks
openclaw cron run <id>Run task manually
openclaw cron runs --id <id>View run history
openclaw cron edit <id>Edit task configuration
openclaw cron remove <id>Delete task
命令说明
openclaw cron add创建新定时任务
openclaw cron list查看所有任务
openclaw cron run <id>手动运行任务
openclaw cron runs --id <id>查看运行历史
openclaw cron edit <id>编辑任务配置
openclaw cron remove <id>删除任务

Common Options | 常用选项

OptionDescriptionExample
--nameTask name"daily-news"
--atOne-time execution time"20m", "2026-03-27T09:00:00+08:00"
--cronCron expression"0 9 * * *"
--tzTimezone"Asia/Shanghai"
--sessionSession typemain, isolated
--agentTarget Agent IDnews-assistant
--messageTask message"Search news"
--announceAnnounce result(flag)
--channelDelivery channelfeishu
--toTarget user"user:<user_open_id>"
--delete-after-runAuto-delete after run(flag)
--wakeWake sessionnow, never

Contributing | 贡献

  1. Fork the repository
  2. Create feature branch (git checkout -b feature/amazing-feature)
  3. Commit changes (git commit -m 'Add amazing feature')
  4. Push to branch (git push origin feature/amazing-feature)
  5. Open Pull Request
  1. Fork 仓库
  2. 创建功能分支 (git checkout -b feature/amazing-feature)
  3. 提交更改 (git commit -m 'Add amazing feature')
  4. 推送到分支 (git push origin feature/amazing-feature)
  5. 打开 Pull Request

License | 许可证

MIT License - See LICENSE file for details.


Support | 支持

  • Documentation | 文档: https://docs.openclaw.ai
  • Community | 社区: https://discord.com/invite/clawd
  • Skill Market | 技能市场: https://clawhub.com

*Last Updated | 最后更新*: 2026-03-27 *Version | 版本*: 2.1.7

平台分布

OpenClaw

94.62%
按下载量换算2,471

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install scheduled-tasks 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills