I am attempting to create a cron job that will identify user inactivity and email me a list of inactive users. It's all functional other than i'm not sure what in the database I need to read for checking the last time a logged in user viewed the website. I have identified a couple things i may be able to use:
last_activity and lastactivity
What purpose do each of these serve?
What I am looking for is basically the "last visited timestamp" to tell me the last time that user viewed the website.