Rewording of "deactivated" instead of "disabled", replacement of $profileurl and some changes to the stats output. Additionally some hints in the mail texts about notifiying by mail.
Signed-off-by: ij <ij@noreply.codeberg.org>
Instead of deleting right away after the limit has been reached, the users will now be deactivated. The new "--cron" option can now be invoked more often (like hourly, daily, whatever) to delete the deactivated users. You can define how many accounts get deleted in each cron run. Default is 2 users.
Reason for this is to prevent too much load on the server when hundreds or even thousands of users get deleted.
Also there is some statistics at the end when the script runs.