I would like a new Scheduled Task that deletes entries in the usergroup Users Awaiting Email Confirmation where current date minus Last Activity date is equal to or greater than five days (or user defined). That, or an SQL Query that does the same thing.
This is an SQL Query I wrote a long time ago to identify users in Users Awaiting Email Confirmation:
What modification to this query would be required to delete matched records?
This is an SQL Query I wrote a long time ago to identify users in Users Awaiting Email Confirmation:
Code:
select username, usergroupid, from_unixtime(joindate), from_unixtime(lastvisit), posts from user where usergroupid = 3 and lastvisit <= (unix_timestamp() - (86400 * 0)) order by from_unixtime(lastvisit);



Comment