When I set the Cronjob Schedule as */1 * * * *
,it would work.
When I set any number which is in 0-59
to the crontab minute
,such as 30 * * * *
,it would work as well.
However when I set the Cronjob Schedule as 30 11 * * *
,it even doesn`t create a job at 11:30.
All the config is followed:
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: hello
spec:
schedule: "33 11 * * *"
jobTemplate:
spec:
template:
spec:
containers:
- name: hello-cronjob
image: busybox
command: ["bash","-c","date;echo Hello from the Kubernetes cluste"]
restartPolicy: OnFailure