write whatever code you need into the models to perform these updates.
then write a rake task to call these methods. finally, using cron (or
some other similar system) execute the rake task at whatever time, and
in whatever frequency you need.
On Jun 7, 9:17 pm, Dan __
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> Well, I''ve been looking around, and I can''t seem to find
anything
> remotely close to what I want to do (maybe I''m looking in the
wrong
> places?). What I need (or rather, will need, since my app isn''t
at this
> point yet. I''d just like to start writing out the code for it) is
to
> automatically update attributes for every user at a specific time each
> day. Doing this at a login or an action is... well, I guess its doable,
> but it makes far more sense do simply update it at a specific time of
> day, each day. Is this even possible with Rails (everything else that I
> could ever need to do seems to be, so I don''t see why this
wouldn''t be
> :) )? If not, any suggestions on how I could go about this (just point
> me towards something that can do it, and I can hopefully handle the
> rest)?
>
> Thanks very much in advance for any help :)
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---