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)
- Check vercel.json on the production branch for the crons list (path and schedule).
- 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
- Show the crons part of vercel.json and the route file it calls.
- Check the route accepts the method the schedule uses (GET) and how it checks the secret (by name only, never print the value).
- Check the time zone: schedules use UTC; compute the right time for Kuwait.
- 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.