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.
on 2009-03-20 14:37
on 2009-03-20 15:41
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 <email@example.com>
on 2009-03-20 15:48
What about Rufus Scheduler? http://www.railsinside.com/misc/234-scheduler-simp...