feat: 失败二轮重试(休息60s后失败股整体重跑) + sync脚本补7个分叉副本硬链

This commit is contained in:
hmo
2026-07-22 08:26:32 +08:00
parent 04284e5187
commit fbad1938f1
2 changed files with 24 additions and 0 deletions
@@ -24,6 +24,11 @@ for lib in mofin_db.py mo_data.py; do
fi
done
# ── cron 脚本分叉副本(scripts/ 旧副本)→ 硬链到 deploy/profile-scripts canonical ──
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
echo "synced $count scripts (hardlink)"
mkdir -p /home/hmo/MoFin/gateway/logs
echo "$(date '+%F %T') synced $count scripts" >> /home/hmo/MoFin/gateway/logs/link_sync.log