#1 By: dev637, January 29th, 2014 09:31
I am running a rails app in Heroku where I use Rufus Scheduler.
My app uses more than one dyno and the scheduler is running on each dyno rather than just one, so my scheduled events are firing multiple times (once for each dyno).
How can I avoid this?
#2 By: clint, January 29th, 2014 10:11
I would recommend you not use the Rufus Scheduler, as you've noted that runs it in your application, in each dyno. Instead, I would separate the tasks you need to run into jobs that can be triggered by the Heroku Scheduler:
#3 By: hgmnz, January 30th, 2014 17:22
Good call by @clint. Other alternatives include: