Cron's solutions on rails are plentiful and pretty good. This is not what I'm fighting right now.
Instead, I have problems with allowing users to create their own repetitive tasks (for example, reminders) - in particular, how to model and store them in the database (a good user interface for it is not trivial) - it will be awesome if there was code for this) . The Google calendar is a great example here (user interface to add an event, not the entire calendar) ... they should be able to do daily at 13:00 CST, or mon / wed / free, or weekly, etc. Regardless of which cron solution it will then be necessary to poll the database to see which reminders need to be sent at this hour, etc.
Has anyone seen a good plug / gem for this in rails? There seems to be something to it, but I haven't found it yet.
Thanks!
source
share