Displaying 1 result from an estimated 1 matches for "testffcontrol".
2007 Feb 14
1
Scheduling in backgroundrb not working
...ers
logger.info(''I am in loop'')
@user = User.find(:first, :conditions => [ ''id = ?'',lop.id])
UserNotify.deliver_people_emails(@user)
end
end
end
MailmanWorker.register
-------------------------------------Controller code-----
class TestffController < ApplicationController
def a_pop
MiddleMan.new_worker(:class => :mailman_worker, :job_key =>
:foo_name)
worker = MiddleMan.worker(:foo_name)
worker.send_emails_to_people
worker.delete
end
end
--------------------------backgroundrb_server.log------------...