update nextcloud

This commit is contained in:
vincent 2021-02-20 10:59:44 +01:00
parent 17e9627b0c
commit d5ff42ef54

View File

@ -118,7 +118,7 @@
- name: create cron for nextcloud
cron:
job: "sudo -u http /usr/bin/php7 -f {{nextcloud_web_root}}/cron.php"
job: "sudo -u http /usr/bin/php -f {{nextcloud_web_root}}/cron.php"
user: root # not required. The specific user whose crontab should be modified.
minute: 0,15,30,45 # not required. Minute when the job should run ( 0-59, *, */2, etc )
name: "nextcloud recuring cron job" # not required. Description of a crontab entry or, if env is set, the name of environment variable. Required if state=absent. Note that if name is not set and state=present, then a new crontab entry will always be created, regardless of existing ones.
@ -126,7 +126,7 @@
- name: create cron for file scan
cron:
job: "sudo -u http /usr/bin/php7 /usr/share/webapps/nextcloud/occ files:scan --all > /dev/null"
job: "sudo -u http /usr/bin/php /usr/share/webapps/nextcloud/occ files:scan --all > /dev/null"
user: root # not required. The specific user whose crontab should be modified.
minute: "00" # not required. Minute when the job should run ( 0-59, *, */2, etc )
hour: "4"