karthik selvakumar bhuvaneswaran
2012-Jun-04 08:26 UTC
Design a scheduler on top of delayed_job
Hi , I am writing a scheduler with delayed_job as job processor. I have a doubt whether I should run scheduler on top of delayed_job or can I add the scheduler code on Worker.start method of delayed Job. I want scheduler in separate thread and delayed job execution in separate thread so that scheduler doesn''t gets affected by longer executing jobs in delayed jobs . say My scheduler should run for every five minutes . If my delayed job takes more than 5 minutes then it affects scheduler also . please help me in good design. Thanks -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.