Live data from Hacker News

Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?

news.ycombinator.com

211–220 of 336 posts

Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?

#211
post #193

Earlier quoted context omitted.

The default branch on GitHub has been main for over 2 years. https://github.blog/changelog/2020-10-01-the-default-branch-...

I thought the change from "master" to "main" was silly and didn't actually help fight racism, but if you're still butthurt about it two years later, it means you're a racist.

It was admittedly silly, and that's why it matters. Silly things have a way of kickstarting debates, setting a strong precedent, and being very visible.

Racism itself isn't a silly thing however, for anyone to throw it around like that. It has centuries of history of relentless oppression, brutal dehumanisation, and systemic marginalization behind it.

Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?

#215

I'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.

hell, you can also just buy a cheap rPi clone and plug it into your router

I came here for this

Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?

#216
post #193

Earlier quoted context omitted.

The default branch on GitHub has been main for over 2 years. https://github.blog/changelog/2020-10-01-the-default-branch-...

I thought the change from "master" to "main" was silly and didn't actually help fight racism, but if you're still butthurt about it two years later, it means you're a racist.

Even if you ignore the racism aspect, "main" is shorter, flows more naturally from the fingers, and is more semantically correct. The world is objectively a better place now.

Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?

#218
How many do you have? There's fixed costs and variable costs, after all.

NixOS-configured systemd timers work great. Code them in bash, Go, Haskell, whatever. If you like polyglot (mostly to leverage any community's open source apps), NixOS is the best.

It isn't the cheapest or easiest for a single job. It's not hard to deploy to a random $5 VPS though (I use a Digital Ocean droplet). But once you have a box to deploy to, the incremental cost is as cheap as it gets.

Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?

#220
Azure functions, as far as I know, have milion executions for free. You can use their "timer teigger" which is a fancy way of saying cron job.

More info:

https://azure.microsoft.com/en-us/pricing/details/functions/

https://www.serverless360.com/blog/azure-functions-triggers-...

Post reply on HN