DEV-810 Fix cronjob

cherry-pick-9c6aec87
Michael Haehnel 3 years ago
parent c810ee3a03
commit dee628962b
No known key found for this signature in database
GPG Key ID: D2FA233B52AEC75C

@ -3,7 +3,8 @@ kind: CronJob
metadata:
name: wp-cron
spec:
schedule: "* * * * *"
schedule: "30 * * * *"
concurrencyPolicy: Forbid
jobTemplate:
spec:
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

Loading…
Cancel
Save