Forum: Ruby on Rails Scheduling Reminders

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.
Robert D. (Guest)
on 2006-03-23 23:58
Hello everyone,

I am not sure if this question belongs here but I will take my chances.
I am creating a little app to keep track of my homework and when it is
due, and I would like to send myself email reminders within x amount of
the due time. What suggestions do you have for accomplishing this? I am
running the latest versions of Ruby and Rails on a Fedora Core 5 box
with qmail. Thanks for the help and/or pointing me in the right
direction.

- The Florida Tek Monkey
Robert MannI (Guest)
on 2006-03-24 01:19
(Received via mailing list)
I'll just point you to the right direction, because I'm a little bit
busy. It probably won't help you get up and running, but it will give
you a general overview:

1) Do you know ActionMailer? Create an ActionMailer model.
2) Create a script that requires your Rails environment (require
"dir_to_your_rails_project/config/environment"), and that pulls all
the homework that is due from the database, and then sends the email
using ActionMailer.
3) Use cron to execute that script in intervals.
Robert D. (Guest)
on 2006-03-24 03:21
Robert,

Thank you for the information. I do not know ActionMailer but I will
check it out ASAP. Thank you for the help.

- Rob Dempsey
This topic is locked and can not be replied to.