diff --git a/hotspot-clear-job-master.yaml b/hotspot-clear-job-master.yaml index 6ef9cc8..21b2bbc 100644 --- a/hotspot-clear-job-master.yaml +++ b/hotspot-clear-job-master.yaml @@ -1,11 +1,11 @@ -apiVersion: batch/v1beta1 +apiVersion: batch/v1 kind: CronJob metadata: name: hotspot-clear-job namespace: master spec: -# schedule: "* 10 * * *" # 10分钟 - schedule: "0 * * * *" # 一小时 + schedule: "* 10 * * *" # 10分钟 +# schedule: "0 * * * *" # 一小时 jobTemplate: spec: template: