I have configured two cron jobs in my Vercel project using the Pro plan. Despite setting them to run every minute and reviewing existing GitHub discussions, the jobs are not executing as expected. I need assistance in troubleshooting and resolving this issue.
Hey @deltacs99. Thanks for including the configuration and list of things you tried.
If you were on a Hobby plan I would recommend changing the schedule to stay within the once-per-day Hobby limit, but that shouldn’t be a problem in your case.
I know this might seem silly and you’ve probably already tried it, but what happens if you try to hit your /api/cron/schedule-jobs or /api/cron/process-jobs function directly (e.g. from the browser or Postman)?
I also want to make sure that you’re checking a Production deployment since cron jobs don’t run on Previews.
I did check our logs and could find invocations from our cron jobs service to both of your paths.
The logs indicate that a cached response was served, so my suspicion is that it’s not a dynamic route.
Would you be able to share more details about the implementation of your API routes?