#!/bin/bash
# [2026-10-09] after the close, one heavy job at a time (1 GB RAM, 1 CPU)
cd /var/www/screener/trade/reports/open_window
nice -n 10 python3 group_confirm_study.py > group_confirm_study.log 2>&1
nice -n 10 python3 group_confirm_report.py > group_confirm_report.log 2>&1
cd /var/www/screener/trade/reports/playbook
nice -n 10 python3 v2_rule_variants.py > v2_rule_variants.log 2>&1
nice -n 10 python3 v2_rule_variants.py --report > v2_rule_variants_report.log 2>&1
nice -n 10 python3 deep_v_study.py > deep_v_study.log 2>&1
nice -n 10 python3 deepv_daily.py 2026-10-05 2026-10-06 2026-10-07 2026-10-08 2026-10-09 > /dev/null 2>&1
echo TONIGHT_DONE >> /var/www/screener/trade/reports/open_window/group_confirm_report.log
