Change media cache cleanup cronjob to use tootctl

This commit is contained in:
Sadiq Saif 2019-02-21 11:27:26 -05:00 committed by GitHub
parent 49c7b98e13
commit cabe29a6d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
cron:
name: "Mastodon media cache cleanup"
special_time: daily
job: "cd /home/mastodon/live && RAILS_ENV=production /home/mastodon/.rbenv/shims/bundle exec rake mastodon:media:remove_remote"
job: "cd /home/mastodon/live && RAILS_ENV=production /home/mastodon/.rbenv/shims/bundle exec /home/mastodon/live/bin/tootctl media remove
backup: yes
state: present
become: true