As a new developer I am constantly trying new technologies and recently have really enjoyed coding in NextJS 13 using their /app directory experime...
For further actions, you may consider blocking this person and/or reporting abuse
I am following everything you put in the post, but for some reason my cronjob does not run at the scheduled time, I enter the vercel dashboard and I see the cronjob created correctly, also when I hit "run" if I see the log, but automatically does not run it.
I am using version "13.4.13", from next.
Same problem here. I'm on Next 13.4.17
Hi @rrhapsod, Are you using a Vercel Pro account? Can you provide a code snippet of your
vercel.json
file? or a link to your repository?It's the exact same problem from this discussion:
github.com/orgs/vercel/discussions...
question ... in your build logs is it a server route or does it show a circle next to it indicating a static route?
If it shows a circle or static route ... try adding this in the route right before the function:
This is what I mean by if the route is shown as static or a server component. Here is a screen shot of my latest build log. /api/github-metrics-sync is a Cron Job.
Hi Renan, I'm using upstash service and it works perfectly.
I think the "issue" with vercel was that it was indicating a local time but you must indicate UTC time, I think that was the "problem". I noticed that when using upstash, since in this service it specifies that.
@goodjoe01 great! looks like you figured it out?
I did, thank you anyway!
Hi @goodjoe01, Are you using a Vercel Pro account? Can you provide a code snippet of your
vercel.json
file? or a link to your repository?