apiVersion: batch/v1 kind: CronJob metadata: name: wp-cron spec: schedule: "* * * * *" jobTemplate: spec: template: metadata: labels: workload: cronjob type: wordpress spec: containers: - name: wp-cron image: rancher/curlimages-curl:7.73.0 imagePullPolicy: IfNotPresent command: - /bin/sleep - "3600" restartPolicy: OnFailure