Forum: Ruby on Rails Sending emails on user specific scheduled times

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9606f903c3545c03403affcc8e94ffcc?d=identicon&s=25 Intern ruby (intern_ruby)
on 2009-03-20 13:37
Hello,

I am building an application in which I have to send recurring emails
and I am using actionmailer to send one time emails and it is working
fine. Now, I need to set up user specific dates/time and mails should be
send at those times. Does any body have any idea of how should I do it ?
I am not able to understand how to setup cron jobs from ruby
application. Any help would be appreciated.

Thanks.
5f3d52658aafcf0aabe76a5147e8909f?d=identicon&s=25 tomrossi7 (Guest)
on 2009-03-20 14:41
(Received via mailing list)
You could use a cron job that runs a rake task every hour, or you
could use the Starling/Workling configuration to poll for emails that
are scheduled to be sent out.  You should watch the Railscasts below:

http://railscasts.com/episodes/127-rake-in-background
http://railscasts.com/episodes/128-starling-and-workling

Give it a shot!

Thanks,
Tom

On Mar 20, 8:37 am, Intern ruby <rails-mailing-l...@andreas-s.net>
3ff9c2544554b13c6c7877e76684751b?d=identicon&s=25 Lee Smith (smitjel)
on 2009-03-20 14:48
This topic is locked and can not be replied to.