Hi,
Could you help me with setting up a delayed job?

I have installed the delayed_job(collectiveidea) gem,
the workless gem,
daily cron addon,
and I have a verified credit card.

Do you know how to modify the following cron.rake file, in order to make it 
work with the delayed_job gem? 
... I'm not very experienced.

desc "This task is called by the Heroku cron add-on"
task :cron => :environment do
  puts "start sending notification"
  User.each do |user|
    UserMailer.notification_mail(user).deliver
  end
  puts "end sending notification"
end

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to