There's a hosted solution, or you can self-host it
Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
41–50 of 336 posts
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#42Sounds like a job for serverless functions, e.g. in Azure [1], though I'm sure every hyperscaler has that. The Azure version even uses Cron syntax for the scheduling. [1] https://learn.microsoft.com/en-us/azure/azure-functions/func...
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#43Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#44All 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.
I don't know about the others, but AWS is not free and it's not cheap. There are ways to set alerts on budget overruns, but there is no foolproof way to limit monthly spending. Eventually you will configure something that goes out of control, or I was able to conceive of a few scenarios where a malicious third party could rack up charges for, e.g. S3 egress costs. Good luck contesting the charges more than once. I sh…
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#45Cheap vps running urlwatch sending alerts with pushover. Turn on unattended upgrades for the server. The one time pushover fee is well worth it.
there it is an apt-get away
Thanks!
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#46Github 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?
#47Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#48https://fly.io/docs/machines/working-with-machines/#create-a...
See the `schedule` parameter.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#49Priced: $0.25/GB-hour + data transfer and storage