Add Nextcloud auto app update cronjob

This commit is contained in:
Salt 2021-08-29 23:55:56 -05:00
parent 4bea6c2168
commit c299e505cf

View File

@ -12,6 +12,9 @@
- /data/nextcloud/themes:/var/www/html/themes - /data/nextcloud/themes:/var/www/html/themes
- /srv/desu.ltd/nc:/var/www/html/data - /srv/desu.ltd/nc:/var/www/html/data
tags: [ docker, nextcloud ] tags: [ docker, nextcloud ]
- name: assure nextcloud cronjob - name: assure nextcloud cron cronjob
cron: user=root name=nextcloud minute=*/5 job="docker exec --user www-data nextcloud php -f /var/www/html/cron.php" cron: user=root name=nextcloud minute=*/5 job="docker exec --user www-data nextcloud php -f /var/www/html/cron.php"
tags: [ docker, nextcloud, cron ] tags: [ docker, nextcloud, cron ]
- name: assure nextcloud update cronjob
cron: user=root name=nextcloud-update minute=*/30 job="docker exec --user www-data nextcloud php occ app:update --all"
tags: [ docker, nextcloud, cron ]