@ -116,3 +116,10 @@
args:
chdir: "{{ nextcloud_directory }}/current"
ignore_errors: yes
- name: Setup nextcloud cronjob
cron:
name: "nextcloud cronjob for {{ nextcloud_directory }}"
hour: "*/5"
user: "www-data"
job: "php {{ nextcloud_directory }}/current/cron.php"