new-site/infra/cron/pw-hc-nppes
justin 2caab6aa69 hc: warmup must run DAILY for the full 21-day ramp (not weekdays-only)
The HC warmup crons were '* * 1-5' (Mon-Fri), silently skipping weekends -- but a
proper warmup needs CONTINUOUS daily volume for 21 days (mailbox providers reward
consistency; gaps stall reputation). The Jun 14 'HC 0 sent' alert was just a
skipped Sunday, but the weekend skips also broke ramp continuity.

- pw-hc-campaign + pw-hc-nppes: '* * 1-5' -> '* * *' (daily), vendored + applied live.
- Re-aligned the warmup start stamp from calendar-day 9 to send-day 5 so the
  volume ramp matches reputation actually built (it had skipped ~4 weekend days,
  running the ramp ahead of real history).
- Fixed the stale 'Mon-Fri only' comment in daily_slice().
- Vendored nppes cron now carries the enriched-CSV + 4-segment config.
2026-06-14 21:02:08 -05:00

6 lines
697 B
Text

# Healthcare NPPES institutional campaigns. Runs weekdays 07:30 from the large
# SMTP-verified + revalidation-enriched institutional base. Broad offers
# (OIG screening, NPPES data update) address the full ~62k verified pool;
# the revalidation segments target the ~1,400 genuine Medicare enrollees.
# Per-MX-operator throttled so volume spreads across receiving systems.
30 7 * * * deploy cd /opt/performancewest && HC_VERIFIED_CSV=/opt/performancewest/data/hc_nppes_institutional_enriched.csv HC_SEGMENTS=oig_screening,nppes_outdated,revalidation_overdue,revalidation_due_soon python3 scripts/build_healthcare_campaigns_cron.py --start-campaign >> /opt/performancewest/logs/pw-hc-nppes.log 2>&1