feature: add preview_cards removal in Mastodon instances

This commit is contained in:
VC
2024-07-05 11:53:26 +02:00
parent f2bcf35095
commit 069f44df08

View File

@@ -1,9 +1,17 @@
---
- name: cron for tootctl
- name: cron for media tootctl
cron:
name: Mastodon tootctl
minute: "0"
hour: "19"
weekday: "5"
job: "docker-compose -f /srv/docker/{{ web_hostname[0] }}/docker-compose.yml run --rm web bin/tootctl media remove"
- name: cron for preview_cards tootctl
cron:
name: Mastodon tootctl preview
minute: "30"
hour: "19"
weekday: "5"
job: "docker-compose -f /srv/docker/{{ web_hostname[0] }}/docker-compose.yml run --rm web bin/toolctl preview_cards remove"