Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
281–290 of 336 posts
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#282Earlier quoted context omitted.
Just note that they’re not guaranteed to be called precisely on time, e.g. my “every 15m” CRON job will be called every 15m _at best_, in practice… twice per hour. This works perfectly for my case (content syndication for https://potato.horse ), and I’m pretty happy with GH actions for this kind of stuff, but if you need something more precise, you might want to look somewhere else.
> Just note that they’re not guaranteed to be called precisely on time, e.g. my “every 15m” CRON job will be called every 15m _at best_, in practice… twice per hour Is the spread really that egregious? That's essentially a 50% failure to trigger at all, like I don't think you can call that 15 minutes so much as 15±10 minutes lmfao IIRC AWS EventBridge is also not guaranteed to execute on the exact minute, but in my e…
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#283Earlier quoted context omitted.
At this point I don't even know if this comment is satire or not.
I don't see how it's satirical. If you need a job to run, you need to handle the case of transient node failures. K8S helps alleviate this issue by allowing the job to be launched on any of a choice of nodes. Sure, cron is fine if you're just looking to rotate logs on the local machine, but if you want to reset your nuclear watchdog timer, you may want something more reliable :)
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#284Earlier quoted context omitted.
I don't see how it's satirical. If you need a job to run, you need to handle the case of transient node failures. K8S helps alleviate this issue by allowing the job to be launched on any of a choice of nodes. Sure, cron is fine if you're just looking to rotate logs on the local machine, but if you want to reset your nuclear watchdog timer, you may want something more reliable :)
If you need a job to run, you need to handle the case of governments turning against you. A huge nuclear capable military and a top notch spy agency helps alleviate this issue by allowing missiles to be launched on any belligerent nations.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#285Cheap: low in price, especially in relation to similar items or services.
Easy: achieved without great effort; presenting few difficulties.
Because "easiest" AND "cheapest" are logically conflicting, my answer only applies to "easy" ways of hosting cron jobs. My answer also holds true for background tasks that are not always scheduled.
The two tools I rely on are:
1. Pipedream
2. Windmill (open-source pipedream)
Both of them let me define functions that need to be run on schedule. Also functions that can react to real world events (webhooks). I can code in Go/ Js/ Ts or Python. Everything is version controlled, stored in Git.
For Pipedream, you pay a premium for managed service. Windmill can be hosted on a $5 machine.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#286From Dictionary: Cheap: low in price, especially in relation to similar items or services. Easy: achieved without great effort; presenting few difficulties. Because "easiest" AND "cheapest" are logically conflicting, my answer only applies to "easy" ways of hosting cron jobs. My answer also holds true for background tasks that are not always scheduled. The two tools I rely on are: 1. Pipedream 2. Windmill (open-sourc…
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#287https://cron-job.org
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#288Earlier quoted context omitted.
If you need a job to run, you need to handle the case of governments turning against you. A huge nuclear capable military and a top notch spy agency helps alleviate this issue by allowing missiles to be launched on any belligerent nations.
I best add a nuclear capable military to the 2023 budget. I know we need to look after every penny, however, the increased reliability is surely worth it.
Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#289Re: Ask HN: What is the cheapest, easiest way to host a cronjob in 2022?
#290Gitlab CI