auto-sync: 2026-03-26 11:00:22

This commit is contained in:
cfdaily
2026-03-26 11:00:22 +08:00
parent 546ec4cdc9
commit 6fdb691034
3 changed files with 6 additions and 10 deletions
+5 -5
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# 启动文件监控器
# 启动文件监控器 (fswatch 版本)
# ============================================
cd "$(dirname "$0")"
@@ -17,11 +17,11 @@ if [ -f "watcher.pid" ]; then
fi
fi
# 启动监控器
python3 simple-file-watcher.py > "file-watcher.log" 2>&1 &
# 启动监控器 (fswatch 版本)
nohup ./file-watcher.sh >> "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/file-watcher.log" 2>&1 &
PID=$!
echo $PID > "watcher.pid"
echo "✓ File watcher started with PID $PID"
echo " Log: $(dirname "$0")/file-watcher.log"
echo "✓ File watcher (fswatch) started with PID $PID"
echo " Log: /Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/file-watcher.log"
echo " To stop: ./management/sanguo_auto_sync/stop-watcher.sh"
+1 -1
View File
@@ -1 +1 @@
4052
4273
-4
View File
@@ -1,4 +0,0 @@
# Test 1
这是第一个测试文件。
用来测试 fswatch 实时监控是否正常工作。