返回顶部
a

auto-updater-gateway

Schedule and run safe daily/weekly updates for Clawdbot + installed skills using the Gateway cron scheduler. Use when setting up "run updates at 04:00" jobs, rotating update reports, running `clawdhub update --all`, and (optionally) applying Clawdbot updates + restart + doctor.

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

auto-updater-gateway

# Auto-Updater (Gateway) Create a reliable daily auto-update routine using **Clawdbot Cron** (Gateway scheduler). This is a "skill" in the sense of a repeatable workflow + correct config shapes (not a plugin). ## Quick setup checklist 1) Ensure ClawHub CLI is logged in (for skill updates): ```bash /home/xabo/.nvm/versions/node/v22.22.0/bin/clawdhub login --workdir /home/xabo/clawd --dir skills /home/xabo/.nvm/versions/node/v22.22.0/bin/clawdhub whoami --workdir /home/xabo/clawd --dir skills ``` 2) Decide: - When to run (cron + timezone) - Whether the job should only **report**, or **update + restart** ## Recommended cron job (isolated, deliver output) Use an **isolated** cron job so it doesn’t spam the main session context. Example CLI (04:00 Europe/Stockholm): ```bash /home/xabo/.nvm/versions/node/v22.22.0/bin/clawdbot cron add \ --name "Daily auto-update (Clawdbot + skills)" \ --cron "0 4 * * *" \ --tz "Europe/Stockholm" \ --session isolated \ --wake now \ --deliver \ --channel telegram \ --to "2095290688" \ --message "Run daily auto-update: update skills via clawdhub update --all; if Clawdbot has an update available, apply it and restart; then run clawdbot doctor --non-interactive; report what changed." ``` ## What the job should do (workflow) Within the cron run: 1) Capture “before” state - `clawdbot --version` - `clawdhub list` (skills + versions) 2) Update skills - `clawdhub update --all` 3) (Optional) Update Clawdbot - Only if the owner explicitly wants self-updates. - After updating, run `clawdbot doctor --non-interactive`. - Restart gateway if required. 4) Send a concise summary - Clawdbot version before/after - Skills updated (old → new) - Any errors ## Notes / gotchas - **Timezone field:** in Gateway job objects this is `schedule.tz` (IANA tz like `Europe/Stockholm`). - **Delivery:** Prefer explicit `channel` + `to` so the job always reaches you. - **Clawdbot self-update:** can be disruptive (restarts). Run at a quiet time. ## Troubleshooting - `clawdhub update` says “Not logged in” → run `clawdhub login` again. - Job doesn’t run → confirm Gateway is always-on and cron is enabled. - Nothing updates → that can be normal; still send a “no changes” report.

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 auto-updater-gateway-1776031883 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 auto-updater-gateway-1776031883 技能

通过命令行安装

skillhub install auto-updater-gateway-1776031883

下载 Zip 包

⬇ 下载 auto-updater-gateway v1.0.1

文件大小: 2 KB | 发布时间: 2026-4-13 09:26

v1.0.1 最新 2026-4-13 09:26
Add runtime metadata (emoji/category/os/requirements) + improve discoverability tags.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部