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.
Intern r. (Guest)
on 2009-03-20 14: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.
tomrossi7 (Guest)
on 2009-03-20 15: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 <removed_email_address@domain.invalid>
Lee S. (Guest)
on 2009-03-20 15:48
This topic is locked and can not be replied to.