@ -3,7 +3,8 @@ kind: CronJob
metadata:
name: wp-cron
spec:
schedule: "* * * * *"
schedule: "30 * * * *"
concurrencyPolicy: Forbid
jobTemplate:
template:
@ -17,6 +18,8 @@ spec:
image: rancher/curlimages-curl:7.73.0
imagePullPolicy: IfNotPresent
command:
- /bin/sleep
- "3600"
- /usr/bin/wget
- -q
- -O /tmp/wp-cron.php
- https://{{ index .Values "smardigo-wordpress" "wordpress" "ingress" "hostname" }}/wp-cron.php
restartPolicy: OnFailure