From ff4ab262a8cd5f54a11142db818b46d3f5c08ff9 Mon Sep 17 00:00:00 2001 From: justin Date: Fri, 12 Jun 2026 22:11:12 -0500 Subject: [PATCH] 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/. --- infra/cron/pw-hc-nppes | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 infra/cron/pw-hc-nppes diff --git a/infra/cron/pw-hc-nppes b/infra/cron/pw-hc-nppes new file mode 100644 index 0000000..b2f444e --- /dev/null +++ b/infra/cron/pw-hc-nppes @@ -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