hc: cron to feed NPPES institutional base (63k verified) into warmup, MX-throttled

Adds /etc/cron.d/pw-hc-nppes (weekdays 07:30) that imports the verified NPPES
institutional general-compliance base into the OIG screening segment, throttled
per MX operator. Separate from the 07:00 reval-segment run so the two pipelines
stay independent. Vendored the cron file under infra/cron/.
This commit is contained in:
justin 2026-06-12 22:11:12 -05:00
parent 5237c81385
commit ff4ab262a8

6
infra/cron/pw-hc-nppes Normal file
View file

@ -0,0 +1,6 @@
# NPPES institutional general-compliance warmup base (63k verified, MX-throttled).
# The reval segments (pw-hc-campaign) run at 07:00 from the small fresh-past-due
# file; this runs at 07:30 from the large verified NPPES institutional base into
# the OIG/general-screening segment, throttled PER MX OPERATOR so volume spreads
# across receiving systems instead of hammering one. Weekdays only.
30 7 * * 1-5 deploy cd /opt/performancewest && HC_VERIFIED_CSV=/opt/performancewest/data/hc_nppes_institutional_verified.csv HC_SEGMENTS=oig_screening python3 scripts/build_healthcare_campaigns_cron.py --start-campaign >> /opt/performancewest/logs/pw-hc-nppes.log 2>&1