Commit graph

11 commits

Author SHA1 Message Date
ij 179885ec00 small improvements 2023-08-20 17:11:49 +00:00
ij 871bb1afe1 Update README.md 2023-08-17 19:28:26 +00:00
ij c8d5427e16 added cron option and deactivation
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.
2023-08-17 19:25:27 +00:00
ij a713364dea Update 'README.md' 2022-11-25 20:43:46 +00:00
ij a4931ba4f1 fix typo 2022-11-17 20:41:16 +01:00
ij c0c44adf48 Update 'README.md' 2022-04-17 11:32:14 +02:00
ij 8b0d14570b Update 'README.md' 2022-01-18 21:01:38 +01:00
ingoj eb19bc5844
Update README.md 2021-08-05 10:27:49 +02:00
ingoj 97b32348eb
Update README.md 2021-08-05 10:26:39 +02:00
ingoj dbe001ec88 Create cleanup-mastodon-users.sh
Initial commit
2021-08-05 10:14:46 +02:00
ingoj 1fba63067a Initial commit 2021-08-05 10:05:25 +02:00