Merge pull request #25630 from guzj11/patch-40
Update automated-tasks-with-cron-jobs.md
This commit is contained in:
@@ -65,7 +65,7 @@ Run the example cron job by downloading the example file and then running this c
|
|||||||
想要运行示例的 CronJob,可以下载示例文件并执行命令:
|
想要运行示例的 CronJob,可以下载示例文件并执行命令:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kubectl create -f ./cronjob.yaml
|
kubectl create -f https://k8s.io/examples/application/job/cronjob.yaml
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
cronjob.batch/hello created
|
cronjob.batch/hello created
|
||||||
|
|||||||
Reference in New Issue
Block a user