Hey, interesting video as always. I have a question, I have a node app that screenscrapes a website. Would it be possible to run that with a cronjob on Vercel? It doesn't have an endpoint. It starts processing when initiated with a 'npm run' . Thanks
@@NaveenAnkem-p8j Oh I see :)) yes you can use a `vercel.json` file to config your rewrites and deploy it as a stand alone project. That's an interesting topic! I may cover it in a future video.
I don't think so, these are serverless functions that scale based on your applications need. But if you're concerned with performance, you can have a dedicated project that only runs your cron jobs.
Very chill video style. Thanks for sharing
Hey Josh, thanks!
You have answered a lot of my questions on Vercel cron jobs. God bless you👍
Glad to help
Crystal clear. Thanks Sir
Glad it helped
Hey, interesting video as always. I have a question, I have a node app that screenscrapes a website. Would it be possible to run that with a cronjob on Vercel? It doesn't have an endpoint. It starts processing when initiated with a 'npm run' . Thanks
Thanks Ang! You can write any backend code in an api endpoint and hit it on a predefined schedule.
@@hamedbahramcool, thanks for clarifying!
If I have a "credits" filed in user database and I want to reset it everyday, I have to use cron jobs, right?
Absolutely
i want to deploy multiple projects using single domain,using rewrite rules
That's cool! not sure how you would do it with Vercel cronjobs though!
@@NaveenAnkem-p8j Oh I see :)) yes you can use a `vercel.json` file to config your rewrites and deploy it as a stand alone project. That's an interesting topic! I may cover it in a future video.
When did you cover this topic,it is very needfull for me, please do it as ASAP
@@hamedbahram when did you release multiple apps in single domain using rewrite rules
cron jobs slow down the server though
I don't think so, these are serverless functions that scale based on your applications need. But if you're concerned with performance, you can have a dedicated project that only runs your cron jobs.
@@hamedbahram either way, wouldn't that still impact the server as the cron jobs would be running numerous times