From cd9298a427aa7f17734d0ffd732d5e1ec2815231 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Mon, 1 Jul 2024 11:04:50 +0200 Subject: fix(roles/nextcloud): use correct php bin in cron --- roles/nextcloud/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/nextcloud') diff --git a/roles/nextcloud/tasks/main.yml b/roles/nextcloud/tasks/main.yml index 9fd0687..2a950c4 100644 --- a/roles/nextcloud/tasks/main.yml +++ b/roles/nextcloud/tasks/main.yml @@ -66,7 +66,7 @@ ansible.builtin.cron: name: nextcloud background jobs minute: "*/5" - job: "php -f {{ nextcloud__chroot_dir }}/cron.php" + job: "{{ nextcloud__php_bin }} -f {{ nextcloud__chroot_dir }}/cron.php" user: "{{ httpd_pre__user }}" - name: start and enable php-fpm service -- cgit v1.2.3