Hacker News new | ask | show | jobs
by scarface74 3137 days ago
Nomad by Hashicorp. You have to do just a little legwork to get it to call an API - just schedule a job that calls the appropriate curl command. When I'm explaining it to people, I explain it is a "distributed cron". You schedule a job either using the command line or via an API to the Nomad server and then it runs the job on any box that has the Nomad agent running and registered to the server. If you combine Nomad with Consul, configuration is dead simple.

https://www.nomadproject.io

1 comments

Nomad is probably a bit overkill for cron. It's a whole k8s alternative isn't it?
It can be. But if you just need a distributed cron, you can just use the raw_exec or exec driver type and run a shell command.