Query by last login

Vote:
 
I can get the last login date of a specific user using OnlineStatusModule, but is it possible to query users by last login date? I want to create a scheduled task that reminds users to login and deletes users who have passed certain thresholds in inactive time.
#21555
Jul 01, 2008 13:57
Vote:
 
Any ideas? I suppose I can just create my own attribute and update it when the user logs in, and then loop through all users when the scheduled task runs to check what users have not logged in lately. But it seems a bit crude...
#22648
Aug 11, 2008 10:48
This thread is locked and should be used for reference only. Please use the Legacy add-ons forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.