Last active
June 23, 2024 19:14
-
-
Save daveio/d517dbca1842c2a2fae866d125a80300 to your computer and use it in GitHub Desktop.
Mastodon maintenance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euxo pipefail | |
clear | |
RAILS_ENV=production bin/tootctl preview_cards remove --days=7 | |
RAILS_ENV=production bin/tootctl maintenance fix-duplicates | |
RAILS_ENV=production bin/tootctl media remove-orphans | |
RAILS_ENV=production bin/tootctl media remove --days=7 | |
RAILS_ENV=production bin/tootctl media remove --days=7 --prune-profiles --include-follows |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment