Jeff
Jeff Cloud Systems Architect
1 min read

Manually Trigger a Kubernetes Cronjob

Manually Trigger a Kubernetes Cronjob

Manually Trigger a Kubernetes Job


Ever wanted to kick off a Kubernetes Cronjob manually? Here's how

Replace <NameSpace>, <CronJobName>, and <JobName> with your respective namespace and cronjob name

kubectl create job --from=cronjob/<CronJobName> <JobName> -n <NameSpace>

That's it