Next.js Discord

Discord Forum

Vercel Cron jobs

Unanswered
Sun bear posted this in #help-forum
Open in Discord
Sun bearOP
Hi folks,

I am working on a Next.js application that includes a CRUD functionality. We have implemented a dynamic cron job scheduling and deletion feature using Qstash API. The cron job is scheduled and deleted based on user actions through our application's APIs.

Now, we are planning to host our application on Vercel and we want to move our cron jobs to Vercel as well. From the documentation, I noticed we can schedule cron jobs manually from vercel.json but I couldn't find any information about dynamically creating/deleting a scheduled job.

My question is, is it possible to dynamically create/delete scheduled cron jobs using Vercel? If yes, how can we achieve this functionality? Any guidance or suggestions would be greatly appreciated.

0 Replies