19 Commits

Author SHA1 Message Date
ij
cf3a5aec94 Merge pull request 'Update account cancellation URL in user notification message' (#23) from Tealk/cleanup-mastodon-users.sh:main into main
Reviewed-on: https://codeberg.org/Windfluechter/cleanup-mastodon-users.sh/pulls/23
2025-06-06 16:48:07 +02:00
Tealk
6ffa2734a1
fix delete url 2025-06-06 15:26:16 +02:00
ij
daf3cdff94 Minor changes and corrections
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>
v0.2
2023-12-13 20:05:13 +00:00
ij
c31c0ab0e5 reflect recent changes in options 2023-11-18 20:24:12 +00:00
ij
c3bd7d2d5f Some more changes, added subroutine to create config 2023-11-18 21:18:16 +01:00
ij
246212c8e1 Added configuration file and other changes 2023-11-16 23:15:45 +01:00
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