You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
369 B
6 lines
369 B
3 years ago
|
#!/bin/sh
|
||
|
# Remove locally cached copies of media attachments older than 7 days from other servers.
|
||
|
cd /home/mastodon/live
|
||
|
PATH=/home/mastodon/bin:/home/mastodon/.local/bin:/home/mastodon/.rbenv/plugins/ruby-build/bin:/home/mastodon/.rbenv/shims:/home/mastodon/.rbenv/bin:/usr/bin:/bin
|
||
|
RAILS_ENV=production bin/tootctl media remove --days 7 > log/media_remove.log 2>&1
|