PostGate

Vercel cron jobs in 2026: limits, CRON_SECRET and Schedules

What a Vercel cron job is

A scheduled HTTP GET that Vercel sends to a path on your production deployment, on a cron expression you declare in vercel.json.

Always UTC, production only

Cron jobs never run on preview deployments, and the timezone cannot be changed. 9:00 in New York is 0 14 * * * in winter.

Hobby vs Pro

1. Hobby: once per day, anywhere within the hour
2. Pro and Enterprise: once per minute, within the minute
3. Every plan: 100 cron jobs per project

No extra price

Each run is a normal function invocation, billed and limited like any other request, and it can last up to your maxDuration.

Lock the route with CRON_SECRET

A cron path is a public URL. Set CRON_SECRET and Vercel sends it as a Bearer token; return 401 when it does not match.

Rotating the secret

A deployment captures CRON_SECRET at build time. Editing the variable changes nothing until you redeploy production.

Why a job did not run

Common causes: a preview URL, a trailingSlash redirect, a cached response, a WAF rule, or a 401 from a mismatched secret.

No retries, best effort

Vercel never retries a failed run. A run can be skipped or delivered twice, so make the work idempotent.

Cron Jobs are now legacy

Vercel Schedules (beta) adds IANA timezones, one-time runs, private functions and queue targets that do retry. Hobby can run every 15 minutes.

Migrating takes one config change

Rename crons to a schedules object, keep the path, and set requestMethod to GET. Remove the old crons in the same deploy.

Read the full guide

Code for the route, a troubleshooting table, and how to build a post scheduler on Vercel without losing runs.

postgate.studio

Read the full guide

More stories

See all stories