We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cad79e commit b2b5952Copy full SHA for b2b5952
staging/src/k8s.io/kubectl/pkg/cmd/create/create_cronjob.go
@@ -41,13 +41,10 @@ var (
41
42
cronjobExample = templates.Examples(`
43
# Create a cronjob
44
- kubectl create cronjob my-job --image=busybox
+ kubectl create cronjob my-job --image=busybox --schedule="*/1 * * * *"
45
46
# Create a cronjob with command
47
- kubectl create cronjob my-job --image=busybox -- date
48
-
49
- # Create a cronjob with schedule
50
- kubectl create cronjob test-job --image=busybox --schedule="*/1 * * * *"`)
+ kubectl create cronjob my-job --image=busybox --schedule="*/1 * * * *" -- date`)
51
)
52
53
type CreateCronJobOptions struct {
0 commit comments