Auto-prune users once per month
I want to add a scheduled task that deletes all users that meet all of the following conditions:
- in the 'awaiting email confirmation' usergroup
- registered more than 60 days ago
- never posted.
I want to set the scheduled task to run once per month. I assume I would need to add a php file to the cron directory.
What should be in the php file?
|