Manual:expireTemporaryAccounts.php

expireTemporaryAccounts.php is a maintenance script that is located in the maintenance directory that you can use to force expire existing temporary accounts.