Back to blog

Guides · May 8, 2026

How to schedule tasks in v0 apps (Vercel Cron Jobs, Schedules, or an outside clock)

v0 deploys to Vercel, so your app's clock is Vercel's: legacy Cron Jobs, the new Vercel Schedules beta, or an outside clock calling the route. Here is which one fits your plan and cadence, and how to set each one up.
crontap.com / blog
v0 apps run on Vercel: legacy Cron Jobs (daily on Hobby, UTC), the Vercel Schedules beta (every 15 min, any timezone), or an outside clock with retries.

You built the app in v0, pressed Publish, and it's live on a vercel.app URL. Now you want it to do something on its own: check for upcoming bookings every 15 minutes, send a 9am digest, sync Stripe overnight. You look for a "schedule this" button in the v0 chat and there isn't one. v0's deployment docs (checked November 2026) are short on this point: "v0 deploys projects to Vercel." So the clock your app gets is Vercel's.

That's better news than it was a few months ago. Vercel now has two schedulers, and the newer one runs every 15 minutes on the free Hobby plan, in your own timezone. Below is how each one works for a v0 app, a picker that tells you which fits your plan and cadence, and when an outside clock that retries and alerts you is the better choice.

v0 hands scheduling to Vercel, and Vercel has two clocks now

Publishing puts the app in a Vercel project (the one connected to your chat, or one you name when you publish), and "every Vercel project has a stable production URL." The route handlers v0 writes under app/api/*/route.ts are ordinary Vercel Functions at that URL. They answer when something calls them. Nothing calls them on a timer until you set one up.

On Vercel that used to mean Cron Jobs. In November 2026 Vercel launched Vercel Schedules in public beta on all plans, and the Cron Jobs docs now say: "Cron Jobs are a legacy feature and will be migrated to Schedules in the future." Existing Cron Jobs keep working, and Vercel's docs give no date for the move. For a new v0 app, though, Schedules is the one to learn.

1 / day

Cron Jobs on Hobby

UTC, anywhere inside the hour

15 min

Schedules on Hobby

Any timezone, 15-minute jitter window

1 min

Both on Pro

$20 per developer seat per month

All Vercel numbers here are from Vercel's docs as of November 2026. Schedules is in beta, and Vercel says "these limits may change before general availability."

Pick the clock for your v0 app

Answer five questions about the job. The picker scores all three clocks, flags what each can't do, and gives you a starter config for the best fit. It is happy to pick Vercel: if the job lives in your app and doesn't need retries or alerts, Schedules is usually the answer.

Which clock fits your v0 app?

Your Vercel plan
How often it runs
Whose clock
When a run fails
What it calls

Best fit for these answers: Vercel Schedules

Vercel Schedules

Best fit
Fits, with caveats
  • Fits, but one 15-minute schedule uses about 2,880 of Hobby's 5,000 runs per billing period, so a second one runs out.
  • Takes an IANA timezone and follows daylight saving.
  • Public beta: limits may change before general availability.

Outside clock (Crontap)

Any URL
Fits, with caveats
  • Faster than hourly needs Crontap Pro, from $2.99/mo. The free plan runs hourly and up.
  • Any IANA timezone per schedule.
  • One more account; the route still needs a secret check.

Vercel Cron Jobs

Legacy
Can't run this
  • Hobby Cron Jobs run once a day at most; a faster expression fails the deploy.
  • UTC only, so a local-time job drifts an hour when daylight saving changes.
  • Vercel calls Cron Jobs legacy; existing ones keep working.

Starter: vercel.json

{
  "schedules": {
    "v0-job": {
      "schedule": "*/15 * * * *",
      "timezone": "Europe/London",
      "path": "/api/cron"
    }
  }
}
Vercel limits as documented in November 2026. Vercel Schedules is in public beta. The starter config uses /api/cron and Europe/London as placeholders.

Option 1: Vercel Schedules, inside your v0 app

If the picker landed here, the setup is a few lines of config and one deploy.

  1. 1

    Ask v0 for the route

    In the v0 chat for your project, ask for the endpoint you want on a timer: "Create app/api/cron/route.ts that finds bookings starting in the next 30 minutes without a reminder, sends the reminders, and marks them sent. Export it as POST and check the Authorization header against process.env.CRON_SECRET."

    A good result looks like this:

    export async function POST(request: Request) {
      const secret = process.env.CRON_SECRET;
      if (!secret || request.headers.get("authorization") !== `Bearer ${secret}`) {
        return new Response("Unauthorized", { status: 401 });
      }
     
      await sendBookingReminders();
      return Response.json({ ok: true });
    }

    The !secret check stops a missing variable from turning Bearer undefined into a valid password. A path target "is public, so anyone can call it", which is why Vercel tells you to protect it with a secret.

  2. 2

    Add a schedules entry to vercel.json

    Ask v0 to add this file at the project root, or edit it in the connected repo:

    {
      "schedules": {
        "booking-reminders": {
          "schedule": "*/15 * * * *",
          "timezone": "Europe/London",
          "path": "/api/cron"
        }
      }
    }

    Path schedules send POST by default, which matches the route. If your route only exports GET, add "requestMethod": "GET". On Hobby, 15 minutes is the fastest schedule, and each run starts somewhere inside a 15-minute jitter window.

  3. 3

    Set CRON_SECRET and publish

    Generate a value with openssl rand -hex 32 and add it as CRON_SECRET in the Vercel project's Environment Variables. Vercel sends it "in the Authorization header of every path request". Then publish from v0 so the new deployment picks up both the variable and the schedule.

  4. 4

    Run it once from the dashboard

    Open the schedule in Vercel's dashboard and press Run Schedule. A manual run "doesn't change the schedule's state or cadence", and the schedule page shows its run count, error rate and duration. On Hobby, manual runs count toward the 5,000.

Two things to know before you lean on it. A failed run isn't retried: "Vercel doesn't retry a run if your route returns an error or times out." If a run must be retried, Vercel's answer is a Queue topic target or a Vercel Workflow. And Vercel's docs don't mention failure alerts, so you find a failed run when you open the execution history. The Vercel cron limits post has a meter for the Hobby run budget if you're planning more than one frequent schedule.

Option 2: a legacy Cron Job for one daily task

If the job runs once a day and UTC is fine, a Cron Job still works, and v0 has probably seen plenty of them:

{
  "crons": [{ "path": "/api/cron", "schedule": "0 6 * * *" }]
}

Cron Jobs send a GET to your production deployment, so the route exports GET instead of POST. On Hobby the run can land anywhere inside the hour you picked, and anything more frequent than daily fails the deploy. That failure is what most v0 users hit first: the expression was 0 * * * * or */15 * * * *, and Hobby only takes daily. Moving it to schedules is the fix that stays inside Vercel.

Option 3: point an outside clock at the v0 route

Pick this when the picker's caveats are the ones you care about: the job should retry and alert you when it fails, it needs to call something that isn't your v0 app, or you need more than one 15-minute job on Hobby. The route stays exactly where v0 put it. Only the clock moves.

  1. 1

    Use the same route and secret

    The POST route and CRON_SECRET from Option 1 work unchanged. Publish once after adding the variable, then copy the production URL, like https://your-app.vercel.app/api/cron or your custom domain plus the path.

  2. 2

    Create the schedule in Crontap

    In Crontap, create a schedule with the URL, method POST, the header Authorization: Bearer <your CRON_SECRET>, the cadence (a cron expression or plain English like "every 15 minutes"), and the IANA timezone the job means, such as Europe/London.

  3. 3

    Perform a test

    Press Perform test to send one real request. A 200 means you're done. A 401 means the header and the variable don't match, usually a stray space or a deploy that predates the secret. A 5xx means the route failed, which is exactly what retries and alerts are for.

  4. 4

    Remove any vercel.json entry for the same route

    Delete the matching crons or schedules entry and publish, so Vercel doesn't call the route as well. Leave both and the job runs twice.

Crontap retries 5xx responses, timeouts and network errors with exponential backoff, keeps each attempt in the run history, and alerts you by email on every plan, or in Slack, Discord or Telegram on paid plans, once the attempts run out.

What about queues and workflows?

Some jobs want more than a clock. If a run has several steps, calls services that fail, or must finish once it starts, Vercel's own advice is to start a Workflow from the schedule, which retries failed steps and survives deployments. Vercel Queues give you retried delivery to a consumer. In a Vercel Community thread about background tasks in v0, the suggested answer was Upstash QStash, wired in through v0's environment variables.

Those are the right tools for durable, multi-step work. For "call this route every 15 minutes and tell me when it breaks", they're more machinery than the job needs, and a clock is enough.

Real things v0 apps schedule

A few shapes come up again and again in v0 builds, with the clock that usually fits.

  • Booking reminders every 15 minutes. Find bookings in the next 30 minutes without a reminder, send, mark sent. Vercel Schedules on Hobby fits one of these; add a second frequent job and the run budget won't last the month.
  • A daily Stripe subscription sync. Pull active subscriptions at 03:00, reconcile them with your database, post drift to Slack. A daily Cron Job or schedule works; an outside clock earns its place when a failed sync should retry and alert you.
  • A daily user nudge sweep. "Your trial ends in 3 days" emails at 09:00 in each customer's timezone. That's one schedule per region, which Schedules and Crontap both handle with an IANA timezone.
  • Calling something outside the app. Refreshing a Supabase table, pinging a partner API, waking an n8n workflow. Vercel's schedulers only call your own deployment, so this is outside-clock territory, or a forwarding route in your v0 app.

FAQ

Scheduling in v0 apps

Does v0 have a built-in scheduler?
Not as of November 2026: v0's deployment docs don't mention one. v0 deploys projects to Vercel, so a v0 app gets Vercel's schedulers (Cron Jobs, which Vercel calls legacy, and the Vercel Schedules public beta), or any outside clock that can call its routes over HTTPS.
Will Vercel cron run on the Hobby plan?
Yes, within limits. Hobby Cron Jobs run at most once a day, anywhere inside the scheduled hour, in UTC. Hobby Vercel Schedules run at most every 15 minutes, inside a 15-minute jitter window, with up to 5,000 runs per billing period; after that Vercel skips scheduled runs until the next period. Schedules is in beta, so those limits may change.
Why did my v0 deploy fail after I added a cron to vercel.json?
On Hobby, a Cron Job expression that runs more than once a day fails during deployment. Make it daily, move it to a schedules entry (every 15 minutes at most on Hobby), upgrade to Pro, or remove it and let an outside clock call the route.
Should a new v0 app use Cron Jobs or Vercel Schedules?
Schedules, if the clock is going to live in Vercel. Vercel calls Cron Jobs legacy and says they will be migrated to Schedules, and Schedules adds timezones, per-schedule history, and pause or run without a redeploy. Existing Cron Jobs keep working. Schedules is still in public beta.
Does Vercel Schedules call my v0 route with GET or POST?
POST by default for a path target, which suits a v0 route that exports POST. Set requestMethod to GET if your route only exports GET. If you set CRON_SECRET, Vercel sends it as a Bearer token in the Authorization header.
Which plan sets the limits, v0's or Vercel's?
Vercel's. v0 deploys projects to Vercel, so the scheduler limits that apply are the ones on your Vercel plan. An outside clock like Crontap has its own plans: hourly and up for free, every minute on Pro.
Can I schedule the preview deployment and not production?
Legacy Cron Jobs run on production only. Vercel Schedules can run on Preview branches, though static schedules there start inactive until you enable them. Crontap calls whatever URL you give it, so a second schedule can point at a preview URL on its own cadence.
What if the scheduled job takes several minutes?
The route runs as a Vercel Function, so the function's duration limit applies: as of November 2026, 300 seconds by default with fluid compute, and up to 800 seconds on Pro. For longer work, start a Vercel Workflow or a queue job from the route and return quickly.

References

The route stays in v0

Check for upcoming bookings every 15 minutes, London time.

Paste the v0 route's production URL, add the Authorization header with your CRON_SECRET, and press Perform test until it answers 200. Crontap retries a failed run with backoff, keeps every attempt in its history, and emails you when the last one fails, on Hobby or Pro.

Free for 2 schedules or monitors. No card.

POSThttps://your-app.vercel.app/api/cron
Active

*/15 * * * *Europe/London

Next run in ...

Run history

From the blog

Read the blog

Guides, patterns and product updates.

Tutorials on scheduling API calls, webhooks and automations, plus deep dives into cron syntax, timezones and reliability.

Product

Introducing Crontap status pages

Publish uptime monitors and heartbeats on a public page at crontap.page, pick a template from Clean to a split-flap departures board, and add incidents, maintenance and a badge.

Product

Slack, Discord and Telegram alerts are here

Connect a chat channel once, then route schedule, uptime and heartbeat alerts with defaults, per-job overrides and test sends. See what each alert looks like in Slack, Discord, Telegram and email.

Product Updates

Introducing AI Integrations

Transform a schedule's HTTP response with a plain-English prompt, return text or JSON, and forward it to Slack, Make, n8n, or your own endpoint. Test on any tier; saving is a Pro feature.