From f7bd5fab1a23b66fe7421a8ca54c3329c2cf279c Mon Sep 17 00:00:00 2001 From: Marcin Niemira Date: Mon, 6 Apr 2020 00:00:32 +1000 Subject: [PATCH] rm informatio about generator from cron-job docs --- content/en/docs/tasks/job/automated-tasks-with-cron-jobs.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/content/en/docs/tasks/job/automated-tasks-with-cron-jobs.md b/content/en/docs/tasks/job/automated-tasks-with-cron-jobs.md index 42c47a43b5..ae5b6633ad 100644 --- a/content/en/docs/tasks/job/automated-tasks-with-cron-jobs.md +++ b/content/en/docs/tasks/job/automated-tasks-with-cron-jobs.md @@ -49,12 +49,6 @@ The output is similar to this: cronjob.batch/hello created ``` -Alternatively, you can use `kubectl run` to create a cron job without writing a full config: - -```shell -kubectl run hello --schedule="*/1 * * * *" --restart=OnFailure --image=busybox -- /bin/sh -c "date; echo Hello from the Kubernetes cluster" -``` - After creating the cron job, get its status using this command: ```shell