Stack · Scheduled jobs
Next.js + Vercel Cron.
Vercel Cron schedules HTTP-triggered jobs — paired with Next.js route handlers, this replaces a lot of background-job infrastructure.
CategoryScheduled jobs
Best forBackground tasks
Why together · 01
Why this combo works.
Cron triggers a route handler on schedule. The handler runs your job. Simple deployment.
Setup
Add vercel.json with crons, write the handler at /api/cron/...
Gotchas
- Max execution time depends on your tier
- Idempotency is critical — retries happen
- Long jobs need queue + worker
- Auth via cron secret header
Building this stack?
We've shipped it.
Used when jobs are short and HTTP-triggerable. If you're going to ship on this stack, brief us. We can save you a few weeks of gotchas.
Brief us