Nice landing page man! :) I have one question: What tool did you use to create the docs? => https://docs.cronhub.io/how-to-ping.html#ping-api
Looks like VuePress: https://vuepress.vuejs.org/
Show HN: I built a cron job scheduler
21–30 of 50 posts
Re: Show HN: I built a cron job scheduler
#22You realized that there are already free alternatives like https://cron-job.org/en/ on the market?! I - personally - would never pay for a cron job service ...
Re: Show HN: I built a cron job scheduler
#23Re: Show HN: I built a cron job scheduler
#24You realized that there are already free alternatives like https://cron-job.org/en/ on the market?! I - personally - would never pay for a cron job service ...
Re: Show HN: I built a cron job scheduler
#25You realized that there are already free alternatives like https://cron-job.org/en/ on the market?! I - personally - would never pay for a cron job service ...
Cron is such an important piece of your infrastructure. Are you sure you want to depend on a free service for this?
Re: Show HN: I built a cron job scheduler
#26Earlier quoted context omitted.
In many cases, paying for a service you could do yourself is more about having a throat to choke in case something goes wrong. I'm sure I could figure out cron/crontab if I took the time to learn about it but that's not my core skillset so paying $5/month is actually rather cheap for me (especially when the cost is passed along to a client who is less skilled at these things than I am).
And what happens when this service you depend on gets shut down for whatever reason?
Re: Show HN: I built a cron job scheduler
#27I am sorry, but I can't stop thinking how useless this service is.
Re: Show HN: I built a cron job scheduler
#28I have 200 servers that I need to run some task every 3 hours. But I don't want them to all run at the same time. I need options to either "start this task at some point randomly in the next 3 hours, then every 3 hours thereafter" or "run this task randomly in every 3 hour block", without resorting to manually tweaking hour/minute run times on every server.
Re: Show HN: I built a cron job scheduler
#29Unfortunately, it's still missing the main cron-killer feature: randomized intervals. I have 200 servers that I need to run some task every 3 hours. But I don't want them to all run at the same time. I need options to either "start this task at some point randomly in the next 3 hours, then every 3 hours thereafter" or "run this task randomly in every 3 hour block", without resorting to manually tweaking hour/minute r…
Find a value that is unique to each server (e.g. the UUID of the / partition?) to seed your PRNG, and then generate the first pseudo-random number. If you do it right, it will always be the same number.
Modulo this number against the number of (seconds|minutes|hours) of random delay you want applied, and apply a sleep timer to the start of the job based on that result.
It's dirty, but it ensures
* each server gets its own random interval from the start time
* that random interval never changes
* the server runs the job on a regular schedule
There are probably better ways of doing this, but this is the first thing I could think of that doesn't require any crazy libraries and can be done using standard linux utils that are on all machines.
I'd love to hear any better ways that people have!
Re: Show HN: I built a cron job scheduler
#30I had a hard time understanding the target market. Are they referring to frontend developers who are forced to do backend work?