Rufus Scheduler

16 views
Skip to first unread message

Avi

unread,
Jul 18, 2013, 1:59:05 AM7/18/13
to rubyonra...@googlegroups.com
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("so...@email.com").deliver
end


Thanks,
Avi
Reply all
Reply to author
Forward
0 new messages