I couldn't find any articles on that by searching the titles. But there's not a lot that's special about a scheduled task - you could look at the existing scripts (in includes/cron).
You could also use a plugin on hook cron_script_cleanup_daily. Do a query of the user table for lastactivity > 30 days ago, find existing code to email a notice and delete a user, and you'd pretty much be there.
|