← All errors · Vercel

Vercel Schedules migration: cron stopped after I switched / runs twice

What you see

After you switch from Cron Jobs to Schedules, one of two things often happens. A job that used to fire no longer hits your GET-only handler, because a path schedule sends POST by default while Cron Jobs sent GET. Or the route runs twice for each occurrence, because you left both crons and schedules entries for the same route.

What it means

Cron Jobs are a legacy feature and will be migrated to Schedules in the future. You can migrate now with a configuration change in vercel.json. Your route code keeps working as it is if you set requestMethod to GET. Path schedules send a POST request by default, but Cron Jobs send GET, so a GET-only handler never sees the new schedule unless you set requestMethod. Remove the crons entries in the same change: if you keep both, the route runs twice for each occurrence. For a path target, the rest of the request stays the same: the user-agent header is vercel-cron/1.0, the x-vercel-cron-schedule header contains the cron expression, and if you set CRON_SECRET, the Authorization header is Bearer <CRON_SECRET>. Cron Jobs always run in UTC, and schedules default to UTC. Leave out timezone to keep the same run times.

Likely causes

How to fix it

  1. Find your Cron Jobs in the crons property of vercel.json. You can also see them on the Cron Jobs tab of your project's Schedules page in the dashboard.

    {
      "$schema": "https://openapi.vercel.sh/vercel.json",
      "crons": [
        { "path": "/api/daily-report", "schedule": "0 9 * * *" },
        { "path": "/api/cleanup", "schedule": "0 * * * *" }
      ]
    }
  2. Replace crons with schedules. For each Cron Job, add an entry to schedules: use a name as the key, keep the same path and schedule, and add requestMethod GET so a GET-only handler keeps working. Remove the crons entries in the same change. If you keep both, the route runs twice for each occurrence.

    {
      "$schema": "https://openapi.vercel.sh/vercel.json",
      "schedules": {
        "daily-report": {
          "schedule": "0 9 * * *",
          "path": "/api/daily-report",
          "requestMethod": "GET"
        },
        "cleanup": {
          "schedule": "0 * * * *",
          "path": "/api/cleanup",
          "requestMethod": "GET"
        }
      }
    }
  3. Leave out timezone to keep the same run times. Cron Jobs always run in UTC, and schedules default to UTC. If you add a timezone, update the cron expression so the schedule still runs when you expect.

  4. Deploy to production. Vercel creates the schedules when the deployment becomes your production deployment, and stops running the Cron Jobs you removed.

    vercel deploy --prod
  5. Verify the schedules. Open your project in the Vercel dashboard and select Schedules. Check that your schedules appear in the list. Select a schedule and click Run Schedule to test it without waiting for its next run. You can also run a schedule from the CLI:

    vercel schedules invoke daily-report
  6. Disable Cron Jobs on the Cron Jobs tab of the Schedules page only pauses Cron Jobs. It does not affect schedules. To pause a schedule, select it and choose Disable from the menu next to Run Schedule, or run:

    vercel schedules disable cleanup

Still stuck after trying this? Get it fixed for $49, or you don't pay.

FAQ

What does "Vercel Schedules migration: cron stopped after I switched / runs twice" mean?

Cron Jobs are a legacy feature and will be migrated to Schedules in the future. You can migrate now with a configuration change in vercel.json. Your route code keeps working as it is if you set requestMethod to GET. Path schedules send a POST request by default, but Cron Jobs send GET, so a GET-only handler never sees the new schedule unless you set requestMethod. Remove the crons entries in the same change: if you keep both, the route runs twice for each occurrence. For a path target, the rest of the request stays the same: the user-agent header is vercel-cron/1.0, the x-vercel-cron-schedule header contains the cron expression, and if you set CRON_SECRET, the Authorization header is Bearer <CRON_SECRET>. Cron Jobs always run in UTC, and schedules default to UTC. Leave out timezone to keep the same run times.

What usually causes it?

The schedule uses a path target and defaults to POST, but the route only exports GET, so the job never hits the handler. You added schedules but left the matching crons entries, so the route runs twice for each occurrence. You forgot to set requestMethod to GET when migrating a Cron Job that called a GET handler. You added a timezone, which shifts the run times. Cron Jobs always run in UTC, and schedules default to UTC.

How do I fix it?

1. Find your Cron Jobs in the crons property of vercel.json. You can also see them on the Cron Jobs tab of your project's Schedules page in the dashboard. 2. Replace crons with schedules. For each Cron Job, add an entry to schedules: use a name as the key, keep the same path and schedule, and add requestMethod GET so a GET-only handler keeps working. Remove the crons entries in the same change. If you keep both, the route runs twice for each occurrence. 3. Leave out timezone to keep the same run times. Cron Jobs always run in UTC, and schedules default to UTC. If you add a timezone, update the cron expression so the schedule still runs when you expect. 4. Deploy to production. Vercel creates the schedules when the deployment becomes your production deployment, and stops running the Cron Jobs you removed. 5. Verify the schedules. Open your project in the Vercel dashboard and select Schedules. Check that your schedules appear in the list. Select a schedule and click Run Schedule to test it without waiting for its next run. You can also run a schedule from the CLI: 6. Disable Cron Jobs on the Cron Jobs tab of the Schedules page only pauses Cron Jobs. It does not affect schedules. To pause a schedule, select it and choose Disable from the menu next to Run Schedule, or run:

Last checked against official docs on . Sources: Vercel changelog: Vercel Schedules is now in public beta (Nov 5, 2026), Vercel docs: Migrating from Cron Jobs to Schedules, Vercel docs: Schedules.

Related errors

More Vercel errors and fixes →

Tools that help

  • Railway: Deploy backends and databases; new users get $20 credit.

Some links on this page are affiliate links: if you sign up or buy through them, FixStack may earn a commission at no extra cost to you. Learn more.

Get new fixes weekly

No spam. Unsubscribe anytime. Privacy