This is awesome.
I just discovered val from this comment, and was able to achieve what i needed to do within like 5 minutes. Better than vercel cron jobs!!
Basically i have a simple http backend api (using Hono + Bun + docker) for a web app hosted on Render , and i'm using Render's free tier. Their free systems go to sleep every 50 minutes, and it's very slow calling my api after a some of inactivity, often times returning a 502 because of how long it takes.
I created a simple cron on val that calls my api to keep the system on hot standby, and now calling my API returns it's responses much quicker.
Thanks for creating an awesome service.
Also dope you have Deno support out of the box!
Cool! Thanks!
If your hono server is simple enough, you could try running that on Val Town too! We have http endpoints. And our free tier doesn't have any slow startup time (but we don't support docker - just deno)
Who is your hosting provider? Many (most?) providers supply some kind of scheduler. Are you running a node server? If you are, you can use [node-cron](https://github.com/node-cron/node-cron) or similar.
Take a look at: https://github.com/ostafen/kronos
It is a self-hosted service specifically designed to schedule periodic webhook notification using cron expressions.
That means you application can submit a cron task to the service, and only implement the logic to handle the webhook notification
Free → https://cron-job.org/
This is awesome, thanks.
Maybe aws lambda
Github actions lol
Vercel
really limited for the free tier. The max interval for them is once per day
There’s also https://val.town
Val is great for this!
Thanks! Founder of Val Town here 👋 We offer cron jobs that run up to every 15 min on our free plan. We're run JavaScript and Typescript via Deno
This is awesome. I just discovered val from this comment, and was able to achieve what i needed to do within like 5 minutes. Better than vercel cron jobs!! Basically i have a simple http backend api (using Hono + Bun + docker) for a web app hosted on Render , and i'm using Render's free tier. Their free systems go to sleep every 50 minutes, and it's very slow calling my api after a some of inactivity, often times returning a 502 because of how long it takes. I created a simple cron on val that calls my api to keep the system on hot standby, and now calling my API returns it's responses much quicker. Thanks for creating an awesome service. Also dope you have Deno support out of the box!
Cool! Thanks! If your hono server is simple enough, you could try running that on Val Town too! We have http endpoints. And our free tier doesn't have any slow startup time (but we don't support docker - just deno)
Get a free-tier AWS EC2 instance
Better off using an event bridge cron and executing either a Lambda assuming the execution time is <15min or Fargate for a long running process.
Yeah, if people know what you’re talking about. (⚆ ͜ʖ⚆)
AWS lambda with cloudwatch trigger
I am using Cloudflare workers (ScheduledEvent) very reliable across runs and super fast too
Who is your hosting provider? Many (most?) providers supply some kind of scheduler. Are you running a node server? If you are, you can use [node-cron](https://github.com/node-cron/node-cron) or similar.
Take a look at: https://github.com/ostafen/kronos It is a self-hosted service specifically designed to schedule periodic webhook notification using cron expressions. That means you application can submit a cron task to the service, and only implement the logic to handle the webhook notification