Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
61–70 of 336 posts
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#62AWS Lambda and Azure Functions both support timer triggers and probably round down to $0/ month if your job only runs for a few seconds an hour
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#63Github actions FTW! > https://docs.github.com/en/actions/using-workflows/events-th... I remember seeing a couple projects shared before, using this technique to scrape sites with GHA
AFAIK, scheduled GitHub workflows stop running after a while. But when that happens, GitHub will send you an email with a big green “Continue running workflow” button.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#64Earlier quoted context omitted.
AFAIK, scheduled GitHub workflows stop running after a while. But when that happens, GitHub will send you an email with a big green “Continue running workflow” button.
I use crons to keep my Docker containers fresh, and have never hit this. But the cron commits to the repo, so I wonder if they’re flagging repos with crons but no commits recently?
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#65Cloud 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?
#66Earlier quoted context omitted.
Yes yes yes. I came to post the exact same thing then saw this =)
Eh. 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?
#67I built a cron job utility service with Pipedream workflows because I needed some additional features like sending email report and hooking up to a cronjob monitor like cronitor or healthchecks.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#68Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#69Raspberry 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 =)