Change media cache cleanup cronjob to use tootctl
This commit is contained in:
parent
49c7b98e13
commit
cabe29a6d4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user