# Healthcare data refresh: weekly re-check of every emailable NPI against the
# live government sources (CMS Revalidation list, OIG LEIE) + MX re-classification
# (Google-host detection) so warmup sends never go stale. Runs Mon 06:00 Central,
# ~1h before the 07:00 weekday send, propagating fresh status into the channel
# CSVs the campaign cron reads. Takes ~8 min. SAM is opt-in (--sam-pages); SAM
# exclusions rarely carry an NPI, so OIG LEIE is the NPI-bearing exclusion source.
# Then prune-only: remove any subscriber whose domain newly became Google-hosted
# from the warmup lists (deliverability safety net; removes only likely-bouncers,
# never evicts for audience reasons).
0 6 * * 1 deploy cd /opt/performancewest && python3 -u scripts/hc_data_refresh.py >> /var/log/pw-hc-refresh.log 2>&1 && python3 -u scripts/build_healthcare_campaigns_cron.py --prune-only >> /var/log/pw-hc-refresh.log 2>&1
