Displaying 1 result from an estimated 1 matches for "a_pop".
Did you mean:
t_pop
2007 Feb 14
1
Scheduling in backgroundrb not working
...9;)
@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---------------------------------------------
I am in d...