chore: move cron scripts to ~/.openclaw/cron/scripts
- Move scripts from ~/work/backup/ to ~/.openclaw/cron/scripts/ - Update cron jobs.json to use new script paths - Scripts: backup_openclaw.sh, evolver-run.sh, zq-sync.sh, git-auto-sync.sh, ai-conversation-logger.sh
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 自动检查并提交 git 修改
|
||||
|
||||
cd ~/.openclaw
|
||||
git add -A
|
||||
if ! git diff --cached --quiet; then
|
||||
git commit -m "自动同步: $(date '+%Y-%m-%d %H:%M')"
|
||||
git push origin main
|
||||
fi
|
||||
|
||||
cd ~/.openclaw/extensions
|
||||
git add -A
|
||||
if ! git diff --cached --quiet; then
|
||||
git commit -m "自动同步: $(date '+%Y-%m-%d %H:%M')"
|
||||
git push origin main
|
||||
fi
|
||||
Reference in New Issue
Block a user