Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
141–150 of 336 posts
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#142Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#143I'm not sure what you mean when you say there is no easy solution... procure a small vm on Linode or your choice of provider for like $20/mo. SSH into it, set up the crontab to run your web scraping script. I could literally have that set up and running in 15 minutes flat. EDIT: after reading the other solutions in this thread I'm blown away by how much people are over thinking and over engineering this. KISS people.
However, to your point on KISS, it's not really about that. Leaving a server on 24/7 is pretty cost ineffective if all you want to do is run a short job once a day.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#144GCP Cloud Run with a schedule set to call the HTTP endpoint once an hour. Cloud Run will run any docker image, and give it a HTTPS URL. Scales to zero, allows running in the background for up to an hour. The benefit over FAAS is that you can run anything you want in the container, including multiple processes.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#145Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#146I'm not sure what you mean when you say there is no easy solution... procure a small vm on Linode or your choice of provider for like $20/mo. SSH into it, set up the crontab to run your web scraping script. I could literally have that set up and running in 15 minutes flat. EDIT: after reading the other solutions in this thread I'm blown away by how much people are over thinking and over engineering this. KISS people.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#147Retool Workflows is the way to go https://retool.com/products/workflows (see the 4 min demo on their site) Flexibility to write custom code and alerting logic, but no headache of managing your own infrastructure Disclaimer: I previously worked at Retool :)
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#148Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#149Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#150I'm not sure what you mean when you say there is no easy solution... procure a small vm on Linode or your choice of provider for like $20/mo. SSH into it, set up the crontab to run your web scraping script. I could literally have that set up and running in 15 minutes flat. EDIT: after reading the other solutions in this thread I'm blown away by how much people are over thinking and over engineering this. KISS people.
Many of the other options listed in this thread are free or within a rounding error of free. Some of them equally are not the "cheapest, easiest" because they're complex. But some of them pretty clearly meet both criteria (GitHub Actions comes to mind), and some of them might meet the criteria depending on what somebody has familiarity with (if you're already used to deploying code to any FaaS provider with a free tier, that'll likely be the cheapest/easiest way).