fix(newsletter): use MON abbreviation in cron expression #72

Merged
addison merged 2 commits from exe-dev-bot/market:fix/cron-monday into main 2026-02-07 16:47:08 -05:00
Contributor

Cloudflare uses 1-7 (Sun-Sat) for day-of-week, not POSIX 0-6. The expression 0 12 * * 1 fires on Sunday, not Monday.

Changed to 0 12 * * MON using three-letter abbreviation as recommended by Cloudflare docs to avoid ambiguity.

Only the spec is affected on main — the wrangler.jsonc and worker.ts changes will come with the newsletter delivery PR.

Cloudflare uses 1-7 (Sun-Sat) for day-of-week, not POSIX 0-6. The expression `0 12 * * 1` fires on **Sunday**, not Monday. Changed to `0 12 * * MON` using three-letter abbreviation as [recommended by Cloudflare docs](https://developers.cloudflare.com/workers/configuration/cron-triggers/) to avoid ambiguity. Only the spec is affected on main — the `wrangler.jsonc` and `worker.ts` changes will come with the newsletter delivery PR.
fix(newsletter): use MON abbreviation in cron expression
Some checks failed
ci.yml / fix(newsletter): use MON abbreviation in cron expression (pull_request) Failing after 0s
12e5ac4a9a
Cloudflare's day-of-week numbering (1=Sun, 7=Sat) differs from POSIX
(0=Sun, 6=Sat). '0 12 * * 1' triggers on Sunday, not Monday.
Use three-letter abbreviation as recommended by Cloudflare docs.

Co-authored-by: Shelley <shelley@exe.dev>
fix(newsletter): use MON abbreviation in cron across all files
Some checks failed
CI / Unit Tests (pull_request) Successful in 1m40s
CI / Lint, Type Check & Format (pull_request) Successful in 2m18s
CI / E2E Tests (pull_request) Failing after 3m22s
659c1f7837
Cloudflare uses 1-7 (Sun-Sat) for day-of-week, not POSIX 0-6.
'0 12 * * 1' fires on Sunday. Changed to '0 12 * * MON' in
wrangler.jsonc, src/worker.ts, and specs/003-weekly-newsletter.md.

Co-authored-by: Shelley <shelley@exe.dev>
addison deleted branch fix/cron-monday 2026-02-07 16:47:08 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kwila/market!72
No description provided.