I am using Rufus scheduler to send emails every day at 4am. To do this I
scheduler = Rufus::Scheduler.start_new
scheduler.every '1d', :first_at => '2010/04/1 04:30' do
There is a better way to write this schedule ?
By the way, I placed this code at config/environments/production.rb, but
don't seems to me that is the correct place. Is this the best way to go