Cron and delayed_job are entirely separate things. You use cron if you want to run things daily (or hourly). Say you want to send a daily report to all your users, you would use the code your posted above.
You use delayed_job if you want to run something in the background (email sending, heavy processing, etc) after something happens. Say, someone buys something from your site and you want to send them a receipt. You would do this via delayed_job, doing something like UserMailer.send_later(:notification_mail, user) Hope that helps! -- 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.
