Add cronjobs for things I keep having to do by hand

This commit is contained in:
Salt 2024-12-07 00:34:56 -06:00
parent 6f57f2ed32
commit f323cd8987

View File

@ -21,3 +21,9 @@
- name: assure nextcloud update cronjob
ansible.builtin.cron: user=root name=nextcloud-update minute=*/30 job="docker exec --user www-data nextcloud php occ app:update --all"
tags: [ docker, nextcloud, cron ]
- name: assure nextcloud db indices cronjob
ansible.builtin.cron: user=root name=nextcloud-update hour=1 job="docker exec --user www-data nextcloud php occ db:add-missing-indices"
tags: [ docker, nextcloud, cron ]
- name: assure nextcloud expensive migration cronjob
ansible.builtin.cron: user=root name=nextcloud-update hour=1 minute=30 job="docker exec --user www-data nextcloud php occ db:add-missing-indices"
tags: [ docker, nextcloud, cron ]