server/nextcloud: Added app previewgenerator

With its own cron job at 3
wip
Felix Stupp 5 years ago
parent 380a5dbf2e
commit 1a5a7b0611
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -134,6 +134,7 @@
- oauth2 - oauth2
- password_policy - password_policy
- polls - polls
- previewgenerator
- provisioning_api - provisioning_api
- quota_warning - quota_warning
- serverinfo - serverinfo
@ -170,6 +171,13 @@
minute: "*/5" minute: "*/5"
job: "sudo -u {{ system_user }} php -f \"{{ nextcloud_installation_directory }}/cron.php\"" job: "sudo -u {{ system_user }} php -f \"{{ nextcloud_installation_directory }}/cron.php\""
- name: Add background cron job for preview generation
cron:
name: "nextcloud preview cron for {{ domain }}"
hour: 3
minute: 0
job: "sudo -u {{ system_user | quote }} php -f {{ nextcloud_installation_directory | quote }}/occ preview:pre-generate"
- name: Configure auto backup of nextcloud data directory - name: Configure auto backup of nextcloud data directory
cron: cron:
hour: 1 hour: 1

Loading…
Cancel
Save