Update README.md

This commit is contained in:
ij 2023-08-17 19:28:26 +00:00
parent c8d5427e16
commit 871bb1afe1

View file

@ -3,7 +3,7 @@ Script to remove inactive users on your Mastodon server. This is a small cleanup
The script does two things:
1. delete all users after 2 weeks that haven't logged in at all and didn't post anything.
2. search for accounts that haven't logged in for 6 months, send them a reminder mail and delete accounts that haven't logged within 7 months.
2. search for accounts that haven't logged in for 6 months, send them a reminder mail, deactivate accounts that haven't logged within 7 months and delete those deactivated users in a `--cron` run.
# Installation
* save the script in home directory of Mastodon (eg. ~/bin, not under /root, maybe /usr/local/bin)
@ -16,6 +16,7 @@ The script does two things:
```
Usage:
--dry-run : make a dry-run, no deletion will be done, no mails are sent.
--cron : delete deactivated users in a regularly cron run step by step to avoid mass flooding.
--dowhatimean : add this option if you really want to delete users.
```