I have a table full of users. Each record has an "expiration" datetime field. I have a shell script that checks to see if there are users who's accounts have expired and deactivate them. So here's the process:
1. Get all users who's accounts have expired but are still marked active. 2. Mark them not active. It's really pretty simple. My question is, is it good practice to have a model method handle the whole thing or should I just use the model to retrieve the records and to save them. Really this isn't a big deal, but it could be more complicated and when it invariably is, I would like to know the best course of attack. Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
