search for: mailmanwork

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

Did you mean: mailmanworker
2007 Feb 14
1
Scheduling in backgroundrb not working
...----------------- :host: localhost :port: 2000 :rails_env: development my_scheduler: :class: :mailman_worker :job_key: :foo_name :worker_method: :send_emails_to_people :trigger_args: 0 */1 * * * * * ------------------------------------------my mailman_worker.rb -------- class MailmanWorker < BackgrounDRb::Worker::RailsBase def do_work(args) # This method is called in it''s own new thread when you # call new worker. args is set to :args # Replace this with your code # logger.info(''I am in do work'') end def send_emails_to_peopl...