mirror of
https://git.cloudron.io/cloudron/mastodon-app.git
synced 2024-05-08 04:12:39 +00:00
16 lines
255 B
Bash
Executable file
16 lines
255 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
echo "=> Cleanup"
|
|
cd /app/code
|
|
|
|
echo "==> media cache ..."
|
|
./bin/tootctl media remove --days=7
|
|
|
|
echo "==> orphaned media ..."
|
|
./bin/tootctl media remove-orphans
|
|
|
|
echo "==> preview cards.."
|
|
./bin/tootctl preview-cards remove --days=7
|