Hello All,
I am using rufus-scheduler in rails application.
Rails - 3.2.8 & ruby - 1.9.3p194.
rufus-scheduler is working fine in development & production mode.
But, when i starting in daemon mode. It stops working.
cant figure out what is the issue.
code :-
require 'rubygems'
require 'rufus/scheduler'
scheduler = Rufus::Scheduler.start_new
scheduler.cron '9 11 * * *' do
UserMailer.daily_message_report("[email protected]").deliver
end
Thanks,
Avi
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/bd992881-6af5-404f-b3c8-d0a2f6b82796%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.