The Prompt BakeryTemplates and prompts

Fix · Vercel and deploying

My scheduled job (cron) does not run on Vercel

Not checked against the vendor's current screens

What you may see

  • A task that should run every day never runs
  • The cron route returns 401 or 404

Most likely cause

The schedule is missing from vercel.json on the production branch, the route is protected by a secret that the schedule does not send, or the plan limits scheduled runs.

Check first (about two minutes)

  1. Check vercel.json on the production branch for the crons list (path and schedule).
  2. Open the project's cron or function logs for the scheduled time.

The fix prompt

What you type here never leaves your browser. The search runs on this page, and nothing is sent to a server or to an AI.

Kept only in this browser, on this device. Keys and passwords are removed before anything is saved.

Prompt language

Paste it into Claude, ChatGPT, Gemini or Cursor, then follow what it says.

After you tried it, did it work?

Steps

  1. Show the crons part of vercel.json and the route file it calls.
  2. Check the route accepts the method the schedule uses (GET) and how it checks the secret (by name only, never print the value).
  3. Check the time zone: schedules use UTC; compute the right time for Kuwait.
  4. Redeploy and read the logs at the next run.

Do not do this

  • Do not test the schedule by running it every minute and forgetting it.
  • Do not make the cron route public without its secret check.

Related

Try another entry

How can we help?

What do you need?
Your email, so we can reply (optional)Only enter your own email. We reply there.