#!/bin/bash
# [2026-10-24] waiter: after the Star flow download -> the Star simulation of the last 2 years
cd /var/www/screener/trade/reports/ev3
until grep -q "STAR_QUEUE_DONE" star_flow.log 2>/dev/null; do sleep 120; done
nice -n 19 python3 sim_full.py --src star --out simstar_2y > simstar_2y.log 2>&1
