Handling Temporal Events

I’m trying to find a method to update user status at certain time intervals. For example, a user hasn’t logged into the system for 6 months, their status should be set to Inactive.

Obviously, this could be done when they try to login again, but I’m looking for a way for the system to handle this on a daily basis.

Would a console app be useful here?



A console command script will be perfect.

If you have cron, you can set it up to run once or twice a day - after making sure that it works when run manually of course.

It requires a working console application, but that is probably set up already.