diff --git a/deploy/profile-scripts/sync_profile_scripts.sh b/deploy/profile-scripts/sync_profile_scripts.sh index 47088c3a..60add6a3 100644 --- a/deploy/profile-scripts/sync_profile_scripts.sh +++ b/deploy/profile-scripts/sync_profile_scripts.sh @@ -28,6 +28,10 @@ done for f in verify_reassess_pipeline.py batch_reassess.py stale_detector.py fix_gateway_port.py morning_health_check.py candidate_filter.py per_stock_reassess.py; do [ -f "$SRC/$f" ] && ln -f "$SRC/$f" "$ROOT/scripts/$f" 2>/dev/null || true done +# price_monitor 还有 root 和 web-dashboard 两个副本 +[ -f "$SRC/price_monitor.py" ] && ln -f "$SRC/price_monitor.py" "$ROOT/scripts/price_monitor.py" 2>/dev/null || true +[ -f "$SRC/price_monitor.py" ] && ln -f "$SRC/price_monitor.py" "$ROOT/price_monitor.py" 2>/dev/null || true +[ -f "$SRC/price_monitor.py" ] && ln -f "$SRC/price_monitor.py" "/home/hmo/web-dashboard/price_monitor.py" 2>/dev/null || true echo "synced $count scripts (hardlink)" mkdir -p /home/hmo/MoFin/gateway/logs