Hi,
I have a rails app running with apache and passenger
that have an initializer with a snippet like this (every minute, ten
seconds past)
scheduler.cron("10 * * * * mon-fri") do
ActiveRecord::Base.verify_active_connections!
File.open('/var/www/bolsa/log', 'a') { |f| f.write("#
{Time.now.to_s} scheduler called\n") }
q = Quoter.new
q.run
q = nil
end
(I put the log to see if the scheduler was called)
after a random while, like 20 or 50 minutes,
the scheduler stops calling, while all the application is well alive
and responding to web requests.
if I open a console under script/console, the scheduler resume working
(like it's being re-loaded)
If I restart apache the scheduler is as well restarted, (but as I
said, apache is/ was working fine for all http requests to that app)
I don't see anything remarkable at any log,
besides what I said, that the scheduler is not being called any more,
thus no more writing on the log file,
where should I start looking for clues?
any help is much appreciated,
thank you,
Andres
--~--~---------~--~----~------------~-------~--~----~
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---