Change media cache cleanup cronjob to use tootctl
This commit is contained in:
parent
49c7b98e13
commit
cabe29a6d4
|
@ -28,7 +28,7 @@
|
||||||
cron:
|
cron:
|
||||||
name: "Mastodon media cache cleanup"
|
name: "Mastodon media cache cleanup"
|
||||||
special_time: daily
|
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
|
backup: yes
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
Loading…
Reference in New Issue