Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
251–260 of 336 posts
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#252As someone who always missed failing cronjobs, I am using Airflow with Slack integration. I.e., every time the job finishes, I get a message. If the job fails, I also get a message.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#253There is no way you can do that reliably without a K8S multi-cloud cluster.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#254Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#255Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#256Can someone please enlighten me on what is the purpose of using an external Cron runner here? If I need to run the same job(s) for a long time, wouldn't it be simpler and cheaper to run a basic $5 VM on something like Linode?
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#257Earlier quoted context omitted.
You really don't need docker for this.
It's true that you don't, but I can see the advantages. I have a Raspberry Pi that is natively running a scraper using headless Chromium and cron. It works great, except.... I ended up needing a virtual framebuffer. I got it working on the Raspberry Pi, but I got a new workstation and wanted to edit my script and test it there. I got cryptic errors that I needed to debug to understand they were framebuffer issues, th…
Isn't proposing Docker as a solution to this going nuclear?
I think there are some many cheaper things you can do to solve this.
For me this is absolutely no justification for Docker use in this scenario.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#258Earlier quoted context omitted.
Because not everyone has a pc/home server they can just leave on 24/7
That seems unlikely to be honest.. just grab an old one if you don't want to use your main one for it.. but if it's cron, its probably not so important that it can't survive missing a single run due to some reboot or whatever?
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#259There is no way you can do that reliably without a K8S multi-cloud cluster.
At this point I don't even know if this comment is satire or not.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#260There is no way you can do that reliably without a K8S multi-cloud cluster.
oh!! have you also thought about the right queue semantics? Do you want your job to trigger exactly one, at least one or at most once? What happens if the previous job is still running when it is time to trigger it again? Is it 15 minutes from start to start or end of previous to start of next? How about metrics? Is your process idempotent?
So, the right answer is 42 unicorns.