From c1ec1c68ffea84051bee69f552b9569ebeae3739 Mon Sep 17 00:00:00 2001 From: Michael Haehnel Date: Mon, 23 Jan 2023 18:11:05 +0100 Subject: [PATCH] Fix wpcron command and args --- templates/cronjob_wordpress.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/cronjob_wordpress.yaml b/templates/cronjob_wordpress.yaml index a66c6f8..b3795a1 100644 --- a/templates/cronjob_wordpress.yaml +++ b/templates/cronjob_wordpress.yaml @@ -17,9 +17,9 @@ spec: - name: wp-cron image: rancher/curlimages-curl:7.73.0 imagePullPolicy: IfNotPresent - command: - - wget - - -q - - -O /tmp/wp-cron.php + args: + - -s + - -o + - /dev/null - https://{{ index .Values "smardigo-wordpress" "wordpress" "ingress" "hostname" }}/wp-cron.php restartPolicy: OnFailure