Compare commits
3 Commits
454bb67ced
...
ef100b8164
Author | SHA1 | Date |
---|---|---|
Tuan | ef100b8164 | 3 years ago |
Tuan | a4ddb78126 | 3 years ago |
Tuan | 9189153493 | 3 years ago |
@ -0,0 +1,5 @@ |
||||
#!/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 |
Loading…
Reference in new issue