Displaying 1 result from an estimated 1 matches for "mailman_worker".
2007 Feb 14
1
Scheduling in backgroundrb not working
...ver details:
Ruby 1.8.4
Rails 1.1.6
Backgroundrb - 1.2.1
CENT OS ..
(Installed backgroundrb as rails plugin ie. /vendor/plugins/background...)
------------------------------------ backgroundrb.yml-----------------
: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''...