Update HTML channel logs every 15 minutes

Correct the cronjob for the log prettifier to run every 15 minutes
instead of on the 15th minute.

Change-Id: Id738a5d793e22f4253461e0bf45bb222fd2a31ab
This commit is contained in:
Jeremy Stanley 2021-06-28 14:32:35 +00:00
parent 73ce0a7d7b
commit 1fe40b507a

View File

@ -57,7 +57,7 @@
name: 'opendev {{ item.key }} logs2html' name: 'opendev {{ item.key }} logs2html'
state: present state: present
user: root user: root
minute: 15 minute: '*/15'
job: >- job: >-
/usr/local/bin/docker-compose -f /etc/ircbot-docker/docker-compose.yaml exec -T ircbot /usr/local/bin/docker-compose -f /etc/ircbot-docker/docker-compose.yaml exec -T ircbot
bash -c "find /var/lib/limnoria/opendev/logs/ChannelLogger/{{ item.key }}/ -mindepth 1 -maxdepth 1 -type d | xargs -n1 logs2html" bash -c "find /var/lib/limnoria/opendev/logs/ChannelLogger/{{ item.key }}/ -mindepth 1 -maxdepth 1 -type d | xargs -n1 logs2html"