Mastodon: Fix container name for crontab cleanup jobs

This commit is contained in:
Víðir Valberg Guðmundsson 2024-02-21 13:36:31 +01:00
parent a95c3ea17e
commit 4c65521447

View file

@ -4,7 +4,7 @@
cron:
name: Clean Mastodon media data older than a week
cron_file: ansible_mastodon_clean_media
job: docker exec mastodon_web_1 tootctl media remove --days 7
job: docker exec mastodon-web-1 tootctl media remove --days 7
special_time: daily
user: root
state: present
@ -13,7 +13,7 @@
cron:
name: Clean Mastodon preview card data older than two weeks
cron_file: ansible_mastodon_clean_preview_cards
job: docker exec mastodon_web_1 tootctl preview_cards remove --days 14
job: docker exec mastodon-web-1 tootctl preview_cards remove --days 14
special_time: daily
user: root
state: present