13 Commits

Author SHA1 Message Date
ij
8a60709bfd Merge pull request 'add some improvements' (#3) from Tealk/cleanup-mastodon-users.sh:main into main
Reviewed-on: https://codeberg.org/Windfluechter/cleanup-mastodon-users.sh/pulls/3
2023-10-30 10:06:24 +00:00
Tealk
b5f438e09d
add some improvements
Signed-off-by: Tealk <tealk@anzah.email>
2023-10-25 15:46:46 +02:00
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 Release 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