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.
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.