Forum: Ruby on Rails Action Mailer with Rails

Posted by Caleb Josh (angeldavid)
on 2012-01-20 10:11
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?
Posted by Walter Davis (walterdavis)
on 2012-01-20 15:39
(Received via mailing list)
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
Posted by Max Schubert (Guest)
on 2012-01-20 15:53
(Received via mailing list)
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
Posted by Bala TS (bdeveloper01)
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
No account? Register here.