🔥: remove profiles/previews more often

This commit is contained in:
VC
2025-02-09 12:09:26 +01:00
parent 0b3fa17d79
commit ff31ac7cb0

View File

@@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
cd {{ mastodon_home }}/live cd {{ mastodon_home }}/live
PATH={{ mastodon_home }}/bin:{{ mastodon_home }}/.local/bin:{{ mastodon_home }}/.rbenv/plugins/ruby-build/bin:{{ mastodon_home }}/.rbenv/shims:{{ mastodon_home }}/.rbenv/bin:/usr/bin:/bin PATH={{ mastodon_home }}/bin:{{ mastodon_home }}/.local/bin:{{ mastodon_home }}/.rbenv/plugins/ruby-build/bin:{{ mastodon_home }}/.rbenv/shims:{{ mastodon_home }}/.rbenv/bin:/usr/bin:/bin
RAILS_ENV=production bin/tootctl media remove RAILS_ENV=production bin/tootctl media remove --days=7
RAILS_ENV=production bin/tootctl media remove --days=45 --prune-profiles RAILS_ENV=production bin/tootctl media remove --days=7 --prune-profiles
RAILS_ENV=production bin/tootctl preview_cards remove RAILS_ENV=production bin/tootctl preview_cards remove --days=30