📝 更新运维速查:添加自动同步说明
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user