Send an email (for free): https://blog.cloudflare.com/sending-email-from-workers-with-...
Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
31–40 of 336 posts
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#32Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#33You can checkout https://cronhub.io (I run it). Behind the scenes, it wraps a lambda function with EventBridge (so you can set schedule) and adds other goodies like notifications/alert (slack/email etc), metrics, notifications if job runs slow etc. Not free but basically you wrap your job in http endpoint and then we take care of the rest.
I think OP doesn't want to keep a machine running permanently. If you do that, adding your own crontab entry would be trivial as well.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#34Cheap vps running urlwatch sending alerts with pushover. Turn on unattended upgrades for the server. The one time pushover fee is well worth it.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#35That said, there are probably different forces at play if this is a personal infrastructure question: while cheap is good, if you aren't fluent in AWS it may be a slog to set up. If you're not, easiest thing is probably a real cron job run on a cheap VPS.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#36https://chrome.google.com/webstore/detail/distill-web-monito...
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#37Github 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?
#38https://developers.google.com/apps-script
It's free, so pretty cheap.
You can set up a schedule to run the scripts. Has easy access to Google APIs (Gmail).
Very powerful and simple solution I've used for years.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#39EventBridge + AWS Lambda It's cheap as in free, thanks to the generous free tier.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#40All 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…