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→ 格式示例
文章底部电脑广告
手机广告位-内容正文底部


微信扫一扫,打赏作者吧~