Displaying 1 result from an estimated 1 matches for "duenotequeuerworker".
2006 Aug 29
1
Tasks get executed twice with repeat_every
I have a simple worker that I set up with repeat_every:
class DueNoteQueuerWorker < BackgrounDRb::Rails
   repeat_every 1.minutes
   first_run Time.now
   def do_work(args)
     @logger.debug("Sending due notes. The current time is #{Time.now}")
   end
end
I want this to run every minute, all the time. The first run is fine,  
but it seems that subsequent runs...