On Fri, Mar 6, 2009 at 3:50 AM, Andres <[email protected]> wrote:
>
> 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?

Hi Andres,

the mailing list for the rufus-scheduler is at

  http://groups.google.com/group/rufus-ruby

please ask your question there. Don't forget to give more details
about your environment.

( since you slightly mention you're running with Apache, I guess this
thread is for you :
http://groups.google.com/group/rufus-ruby/t/8ca374769edf98b5 )


Best regards, see you on the rufus-ruby mailing list.

-- 
John Mettraux   -   http://jmettraux.wordpress.com

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to