From 9e86f4f7817d2d6204a2327bc17e67778b6ff85c Mon Sep 17 00:00:00 2001 From: admin Date: Thu, 25 Jun 2026 22:04:39 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20=E6=9B=B4=E6=96=B0=E8=BF=90?= =?UTF-8?q?=E7=BB=B4=E9=80=9F=E6=9F=A5=EF=BC=9A=E6=B7=BB=E5=8A=A0=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=90=8C=E6=AD=A5=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kb/ops/quickref.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/kb/ops/quickref.md b/kb/ops/quickref.md index e410b51..3f93968 100644 --- a/kb/ops/quickref.md +++ b/kb/ops/quickref.md @@ -24,6 +24,15 @@ git commit -m "更新说明" git push ``` +## 自动同步(每天 2:30 AM) + +- **脚本:** `/root/sync-xdespace.sh` +- **日志:** `/root/xdespace-sync.log` +- **定时:** crontab `30 2 * * *` +- **功能:** 检测工作区变更 → 自动提交 → 推送远程 +- **超时:** Git 操作超时 30 秒,超时或远程不响应则跳过 +- **互斥锁:** 防止前一次未完成时重复运行 + ## Ollama ```bash @@ -45,3 +54,4 @@ openclaw gateway status # 查看日志(飞书/网关) journalctl -u openclaw --no-pager -n 50 +```