Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
51–60 of 336 posts
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#52Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#53Raspberry Pi at home if you don't have a home server already. Or some low spec cheap vps.
Yes yes yes. I came to post the exact same thing then saw this =)
I tried to do Chromium/Puppeteer based scraping this way.
Building a Dockerfile took ages due to the low compute. (Rust was a non-starter).
I also had (foolishly) only bought the Pi with 2GB instead of 8GB so RAM was an issue.
Disk was super slow.
I'm not sure how viable this is, especially with how hard it is currently to source a Pi, let alone its computation/memory constraints.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#54Lambda
Event Bridge rule
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#55Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#56You should check out Modal! Does much more than just cronjobs, but super easy and cheap: https://modal.com/docs/guide/cron . They have an example with a simple web scraper as well: https://modal.com/docs/guide/web-scraper From their pricing example: > You schedule a job to run once an hour for 15 seconds. This job uses 50% of one CPU core and 256 MiB of memory. This job will cost $0.016/day for the CPU, and $0.001/da…
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#57Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#58Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#59Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#60How much local compute do you have?
I think people underestimate dynamic DNS or a static IP if you can get one for your home for cheap.