Add cached media cleanup cron job

This commit is contained in:
Johannes Zellner
2020-08-16 10:30:44 +02:00
parent 343889821f
commit 34fb84e4ef
3 changed files with 16 additions and 2 deletions

8
cleanup.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
set -eu
echo "=> Cleanup cached media"
cd /app/code
./bin/tootctl media remove