User account maintenance

Picture of Nathan Friend
User account maintenance

We use the ldap server authentication plugin to create moodle accounts when users login from Active Directory.  Is there a recommended maintenance routine to  remove old accounts from the moodle database.  For example users that have not logged on for two years or users that no longer have an Active directory account.

In Moodle 1.9 there was a cron function to remove old user accounts but I can't seem to find it in Moodle 2.2
Average of ratings: -
Picture of Jaswinder Singh
Re: User account maintenance
Group Particularly helpful MoodlersGroup Testers

Hi Nathan,

Are you talking similar to longtimenosee feature.

In site admin >> plugins >> enrollment >> self enrollment

You can set to unenrol users after they are inactive for a specific period of time.

or perhaps the cleanup settings

Average of ratings: -