auto-sync: 2026-03-26 11:00:22
This commit is contained in:
@@ -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 @@
|
||||
4052
|
||||
4273
|
||||
|
||||
Reference in New Issue
Block a user