@ml @BeAware my clean script that execute sometimes.
$ cat clean-mastodon.sh
#!/bin/bash
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
export RAILS_ENV=production
bin/tootctl statuses remove
bin/tootctl media remove --days=30
bin/tootctl preview_cards remove --days=30
bin/tootctl media remove-orphans
bin/tootctl media usage