返回顶部
a

auto-updater

Automatically update OpenClaw and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.

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

auto-updater

# Auto-Updater Skill Keep your OpenClaw and skills up to date automatically with daily update checks. ## What It Does This skill sets up a daily cron job that: 1. Updates OpenClaw itself (via `openclaw update`) 2. Updates all installed skills/plugins 3. Restarts the service via `sudo systemctl restart openclaw` 4. Messages you with a summary of what was updated ## Setup ### Quick Start Ask OpenClaw to set up the auto-updater: ``` Set up daily auto-updates for yourself and all your skills. ``` Or manually add the cron job: ```bash openclaw cron add \ --name "Daily Auto-Update" \ --cron "0 4 * * *" \ --tz "America/Chicago" \ --session isolated \ --wake now \ --deliver \ --message "Run daily auto-updates: run 'openclaw update --yes' followed by 'sudo systemctl restart openclaw'. Update skills and report what was updated." ``` ### Configuration Options | Option | Default | Description | |--------|---------|-------------| | Time | 4:00 AM | When to run updates (use `--cron` to change) | | Timezone | America/Chicago | Set with `--tz` | | Delivery | Main session | Where to send the update summary | ## How Updates Work ### OpenClaw Updates The primary update command used is: ```bash openclaw update --yes && sudo systemctl restart openclaw ``` This updates the core CLI, builds any source checkouts, and updates all installed plugins/skills. ### Skill Updates Skills are updated as part of the `openclaw update` command. To update skills specifically: ```bash openclaw skills update --all ``` ## Update Summary Format After updates complete, you'll receive a message like: ``` 🔄 Daily Auto-Update Complete **OpenClaw**: Updated to v2026.2.2-3 (was v2026.2.1) **Skills Updated (3)**: - discord: 2.0.3 → 2.0.4 - browser: 1.2.0 → 1.2.1 - nano-banana-pro: 3.1.0 → 3.1.2 **Skills Already Current (5)**: gemini, weather, reddit, twitter, yahoo-finance Service restarted successfully via systemd. ``` ## Manual Commands Check for updates without applying: ```bash openclaw update status ``` View current skill versions: ```bash openclaw skills list ``` Check OpenClaw version: ```bash openclaw --version ``` ## Troubleshooting ### Updates Not Running 1. Verify cron is enabled: check `cron.enabled` in config 2. Confirm Gateway is running continuously 3. Check cron job exists: `openclaw cron list` ### Update Failures If an update fails, the summary will include the error. Common fixes: - **Permission errors**: Ensure the Gateway user has passwordless sudo for `systemctl restart openclaw`. - **Network errors**: Check internet connectivity - **Package conflicts**: Run `openclaw doctor` to diagnose ### Disabling Auto-Updates Remove the cron job: ```bash openclaw cron remove "Daily Auto-Update" ``` Or disable temporarily in config: ```json { "cron": { "enabled": false } } ``` ## Resources - [OpenClaw Updating Guide](https://docs.openclaw.ai/cli/update) - [Cron Jobs](https://docs.openclaw.ai/cron)

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 auto-updater-sxdg2-1776085383 技能

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

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

通过命令行安装

skillhub install auto-updater-sxdg2-1776085383

下载 Zip 包

⬇ 下载 auto-updater v1.0.0

文件大小: 2.14 KB | 发布时间: 2026-4-14 14:37

v1.0.0 最新 2026-4-14 14:37
- Initial release of the auto-updater skill.
- Adds daily automated updates for OpenClaw and all installed skills via a scheduled cron job.
- Sends a summary message after updates, detailing what changed.
- Supports configuration of update time, timezone, and summary message destination.
- Provides troubleshooting steps and manual commands for update management.

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

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

p2p_official_large
返回顶部