6
0
Fork 0
mirror of https://codeberg.org/Windfluechter/cleanup-friendica.git synced 2024-12-04 15:54:27 +01:00

Update README.md

This commit is contained in:
ingoj 2020-12-29 12:07:48 +01:00 committed by GitHub
parent 0f63eafb42
commit 04f8bac7f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,6 +12,11 @@ The script does two things:
* for the first 2 runs you should have the mail text the same and keep the deleting of the user commented out (line 54 in initial commit). After the first 2 runs you should change the first mail text to send out a mail that the account has been deleted because of inactivity and not reacting to the prior sent mails.
* change the variables at the begin of the script to your site settings.
# Usage
`Usage:
--dry-run : make a dry-run, no deletion will be done, no mails are sent.
--dowhatimean : add this option if you really want to delete users.`
# Other useful tips
* the script expects the output of `bin/console` to be in `LANG=en_US.UTF-8` or `en`
* you can change the mail command from `-b ${siteadmin} -- ${usermail}` to `-- ${siteadmin}` and comment out all lines with `bin/console user delete` statement for testing runs