网淘吧来吧,欢迎您!

返回首页 微信
微信
手机版
手机版

OpenClaw Auto‑Updater (Safe + Scheduled + Summary)

2026-03-27 新闻来源:网淘吧 围观:17
电脑广告
手机广告

OpenClaw 自动更新器

运行计划更新用于 OpenClaw 和已安装的技能,使用 cron 消息(无需脚本)。重点:安全调度、可预测的输出和最少的体力劳动。

功能

  • 按固定计划运行 OpenClaw 更新
  • 通过 ClawHub 更新所有已安装技能
  • 发送简洁、易读的摘要(已更新 / 未更改 / 失败)

设置(每日更新)

每日 03:30 欧洲/柏林时间

openclaw cron add \
  --name "OpenClaw Auto-Update" \
  --cron "30 3 * * *" \
  --tz "Europe/Berlin" \
  --session isolated \
  --wake now \
  --deliver \
  --message "Run daily auto-updates: 1) openclaw update --yes --json 2) clawdhub update --all 3) report versions updated + errors."

每周(周日 04:00)

openclaw cron add \
  --name "OpenClaw Auto-Update (Weekly)" \
  --cron "0 4 * * 0" \
  --tz "Europe/Berlin" \
  --session isolated \
  --wake now \
  --deliver \
  --message "Run weekly auto-updates: openclaw update --yes --json; clawdhub update --all; summarize changes."

更安全的模式

试运行(无更改):

openclaw cron add \
  --name "OpenClaw Auto-Update (Dry)" \
  --cron "30 3 * * *" \
  --tz "Europe/Berlin" \
  --session isolated \
  --wake now \
  --deliver \
  --message "Check updates only: openclaw update status; clawdhub update --all --dry-run; summarize what would change."

仅核心(跳过技能):

openclaw cron add \
  --name "OpenClaw Auto-Update (Core Only)" \
  --cron "30 3 * * *" \
  --tz "Europe/Berlin" \
  --session isolated \
  --wake now \
  --deliver \
  --message "Update OpenClaw only: openclaw update --yes --json; summarize version change."

摘要格式(推荐)

🔄 OpenClaw Auto-Update

OpenClaw: 2026.2.1 → 2026.2.2 (OK)
Skills updated: 3
Skills unchanged: 12
Errors: none

故障排除

  • 如果更新失败,请在摘要中包含错误信息。
  • 安排在非高峰时段;更新可能会重启网关。
  • 使用明确的时区以避免意外。

参考文献

  • references/agent-guide.md→ 更深入的实现说明
  • references/summary-examples.md→ 格式示例

天猫隐藏优惠券

网淘吧

免责申明
部分文章来自各大搜索引擎,如有侵权,请与我联系删除。
打赏
文章底部电脑广告
手机广告位-内容正文底部

相关文章

您是本站第291006名访客 今日有257篇新文章/评论