search for: _delayed_jobs

Displaying 1 result from an estimated 1 matches for "_delayed_jobs".

Did you mean: delayed_jobs
2010 Aug 09
0
Logging form delayed job class
I have asked this before without any luck, trying again. this is what I have in my dj.rb initializer Delayed::Worker.backend = :active_record Delayed::Worker.logger = Rails.logger #Delayed::Worker.logger = ActiveSupport::BufferedLogger.new("log/ ##{Rails.env}_delayed_jobs.log", Rails.logger.level) class Delayed::Job def logger Delayed::Worker.logger end end if JobsCommon::check_job_exists("PeriodicJob").blank? Delayed::Job.enqueue PeriodicJob.new(), 0, Constants::PROCESS_FREQ.from_now end #end This is my job class class PeriodicJ...