Earlier 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.
Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
71–80 of 336 posts
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#72Earlier 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?
#73Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#74All free: * free-tier vps on GCP or Oracle Cloud * lambda job on AWS I have a cheap VPS I use for other things and just run my cron jobs there.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#75Since we are at the topic, what the best way to schedule production grade tasks on a Windows server? I joined a new company and they are using Task Scheduler and it is just awful!
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#76Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#77Raspberry Pi at home if you don't have a home server already. Or some low spec cheap vps.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#78AWS 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?
#79Github 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?
#80Github 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.