Set up Nextcloud cronjob
This commit is contained in:
parent
cffd0b38bb
commit
96b7f55e63
@ -99,6 +99,12 @@
|
|||||||
path: /var/www/nextcloud.tar.bz2
|
path: /var/www/nextcloud.tar.bz2
|
||||||
state: absent
|
state: absent
|
||||||
when: not stat_webroot_index.stat.exists
|
when: not stat_webroot_index.stat.exists
|
||||||
|
- name: Set up Nextcloud cronjob
|
||||||
|
cron:
|
||||||
|
user: www-data
|
||||||
|
name: "nextcloud-cron"
|
||||||
|
minute: "/5"
|
||||||
|
job: "php -f \"{{ nextcloud_webroot }}\"/cron.php"
|
||||||
- name: Enable Apache configs and modules
|
- name: Enable Apache configs and modules
|
||||||
shell: "{{ item }}"
|
shell: "{{ item }}"
|
||||||
loop:
|
loop:
|
||||||
|
Loading…
Reference in New Issue
Block a user