Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/lib/admin/cron-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ const WEEKLY = 7 * DAILY;
/** Code-defined cadence registry — the "expected" half of expected-vs-actual.
* MUST mirror vercel.json crons exactly (contract test enforces). */
export const CRON_REGISTRY: readonly CronRegistryEntry[] = [
{ jobType: 'coachhelm-validation', path: '/api/cron/coachhelm-validation', cadenceMinutes: WEEKLY },
{ jobType: 'coachhelm-validation', path: '/api/cron/coachhelm-validation', cadenceMinutes: 60 },
{ jobType: 'coachhelm-calibration', path: '/api/cron/coachhelm-calibration', cadenceMinutes: DAILY },
{ jobType: 'coachhelm-safety-net', path: '/api/cron/coachhelm-safety-net', cadenceMinutes: WEEKLY },
{ jobType: 'coachhelm-safety-net', path: '/api/cron/coachhelm-safety-net', cadenceMinutes: 30 },
{ jobType: 'coachhelm-insight-lifecycle', path: '/api/cron/coachhelm-insight-lifecycle', cadenceMinutes: DAILY },
{ jobType: 'coachhelm-roster-sweep', path: '/api/cron/coachhelm-roster-sweep', cadenceMinutes: DAILY },
{ jobType: 'coach-morning-digest', path: '/api/cron/coach-morning-digest', cadenceMinutes: DAILY },
Expand Down
4 changes: 2 additions & 2 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
"crons": [
{
"path": "/api/cron/coachhelm-validation",
"schedule": "0 6 * * 0"
"schedule": "15 * * * *"
},
{
"path": "/api/cron/coachhelm-calibration",
"schedule": "30 3 * * *"
},
{
"path": "/api/cron/coachhelm-safety-net",
"schedule": "0 4 * * 0"
"schedule": "*/30 * * * *"
},
{
"path": "/api/cron/coachhelm-insight-lifecycle",
Expand Down
Loading