plashchynski / crono

A time-based background job scheduler daemon (just like Cron) for Rails
https://github.com/plashchynski/crono
Apache License 2.0
687 stars 56 forks source link

Supporting multiple rails instances #61

Open stenver opened 7 years ago

stenver commented 7 years ago

If I have multiple stateless rails instances running in different servers, then Crono stars the job in all of the instances. I was hoping since Crono synchronises on DB, then it will only start the job in one instance.

Is there any way to do this with crono?

ghost commented 2 years ago

+1

ghost commented 2 years ago

@stenver did you find your answer ? would like to now how you solved for this?

ghost commented 2 years ago

way I think I would do is, even though I have multiple stateless rails instance, I would run single instance of crono and that should be fine unless you really have lot of cron jobs and they start hitting limits on single instance in terms of resource usage.