search for: vote_process_freq

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

2010 Aug 09
0
Logging form delayed job class
...Job def perform this.logger.info "Periodic job writing #{Time.now}" # Rails.logger.info "Periodic job writing #{Time.now}" if JobsCommon::check_job_exists("PeriodicJob").blank? Delayed::Job.enqueue PeriodicJob.new(), 0, Constants::VOTE_PROCESS_FREQ.from_now end end end the job fails with the error message 2010-08-09T13:29:59-0700: [Worker(delayed_job host:ubuntu pid:8941)] acquired lock on PeriodicJob 2010-08-09T13:29:59-0700: [Worker(delayed_job host:ubuntu pid:8941)] PeriodicJob failed with NameError: undefined local variable...