apiVersion: batch/v1beta1 kind: CronJob metadata: name: nextcloudcron namespace: nextcloud spec: schedule: "*/5 * * * *" jobTemplate: spec: template: spec: containers: - name: busybox image: busybox command: - "wget" - "http://nextcloud/cron.php" - "-o" - "/dev/null" - "-O" - "-" restartPolicy: Never