caelum0x be8072ce88 fix(insights-edge): weekly report cron fired every Sunday, not Monday
Cloudflare Cron Triggers number weekdays 1=Sunday..7=Saturday (Quartz-style),
not the POSIX 0=Sunday..6=Saturday most cron syntax assumes. The configured
trigger "0 7 * * 1" was written assuming POSIX semantics (1=Monday) but
Cloudflare resolved it as Sunday — confirmed against three real delivered
digest emails (2026-10-11/18/25, all Sunday 07:00-07:01 UTC). Switched to the
unambiguous "0 7 * * MON" literal per Cloudflare's own docs recommendation.
Verified live: redeployed, confirmed the new schedule via the Workers API,
and triggered a real POST /api/report to confirm the send path still works
end to end (real email landed in the inbox within seconds).
2026-10-26 16:55:38 +03:00
..