Hi all, We have to send mail at a particular time for a bunch of users. Is there any method in Action Mailer which will deliver mail at a particular time?
on 2012-01-20 10:11
on 2012-01-20 15:39
On Jan 20, 2012, at 4:11 AM, angel david wrote: > Hi all, > > > We have to send mail at a particular time for a bunch of users. Is there > any method in Action Mailer which will deliver mail at a particular > time? > No, but there are a lot of "cron-like" gems for Rails. Or you can use cron itself. http://backgroundrb.rubyforge.org/ Walter
on 2012-01-20 15:53
delayed_job is a popular gem for this (there are many others that are worthwhile as well) and if you go the cron route I highly recommend whenever, a ruby gem that lets you manage cron jobs from within your Rails project - really nicely done gem. Max
on 2012-01-21 05:08
Hai! I too agree with this... https://github.com/tobi/delayed_job Bye:) bdeveloper01
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.