Hi Tomasz, On 7/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > The funny thing is that scheduler jobs do keep reference to the block > - in AJAX "ping" action for active jobs, after putting dirty puts, I > get lines like: > #<Proc:[EMAIL PROTECTED]/script/../config/../app/controllers/ > auction_controller.rb:21> > > And I get this by calling > puts $scheduler.get_job(id).block.inspect > > So obviously the block (its Proc object) exists in the memory. It's > just not executed when function that scheduled it ends.
Very interesting. I will try to reproduce that with a tiny Rails application (with a "puts 'nada'" instead of "NotifMailer..."). Meanwhile if you get more info, please post it here. Cheers, -- John Mettraux -///- http://jmettraux.openwfe.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenWFEru users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/openwferu-users?hl=en -~----------~----~----~----~------~----~------~--~---
