Set up Nextcloud cronjob

This commit is contained in:
Salt 2020-02-06 03:44:37 -06:00
parent cffd0b38bb
commit 96b7f55e63

View File

@ -99,6 +99,12 @@
path: /var/www/nextcloud.tar.bz2
state: absent
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
shell: "{{ item }}"
loop: