Browse Source

add nextcloud cronjob

main
Markus Bergholz 2 months ago
parent
commit
2fa6aeb02d
Signed by: m GPG Key ID: B45724801354B174
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      roles/containers/tasks/nextcloud.yml

+ 8
- 0
roles/containers/tasks/nextcloud.yml View File

@ -51,3 +51,11 @@
minute: "2"
job: "/usr/bin/docker exec -u www-data nextcloud ./occ face:background_job -u {{ CONFIG.NEXTCLOUD_USER }} -t 300"
user: m
- name: nextcloud preview generation
cron:
name: nextcloud preview generation
hour: "*"
minute: "30"
job: "/usr/bin/docker exec -u www-data nextcloud ./occ preview:pre-generate
user: m

Loading…
Cancel
Save