CronJobs
This document explains how to operate CronJobs through kop.
Binding keys
Available shortcuts for CronJob-related operations are shown in the Footer area at the bottom of the page. Available actions may vary slightly by context; always use the real-time prompts in the Footer as the source of truth.
| Key | Action |
|---|---|
d |
Delete CronJob |
e |
Edit CronJob |
s |
Suspend/Resume CronJob |
t |
Trigger CronJob |
n |
Next Page |
p |
Previous Page |
Some
keysare shown in the Footer only under specific conditions. For example,nandpare displayed only when the total number of resources exceeds the current screen height.
Actions
The following sections describe what each action does and how to use it.
Trigger CronJob
Creates a one-off Job immediately from the selected CronJob.
Steps:
- In the left resource navigator, go to
CronJobs. - Select the target CronJob in the list.
- Press
tto trigger a one-off run. - Confirm the action in the prompt.
- Verify the new Job appears in related resources.
Notes:
- Trigger does not change the regular schedule.
- Use this action to validate the job template on demand.
Suspend/Resume CronJob
Suspends or resumes scheduling for the selected CronJob.
Steps:
- Select the target CronJob in the
CronJobslist. - Press
sto toggle scheduling state. - Confirm the action in the prompt.
- Check the updated state in the resource table or detail view.
Notes:
- Suspend stops future schedule triggers but does not cancel already started Jobs.
- Resume re-enables schedule-based execution.
Edit CronJob
Edits the CronJob YAML configuration and submits changes.
Steps:
- In the left resource navigator, go to
CronJobs. - Select the target CronJob in the list.
- Press
eto open the YAML editor view. - Modify the content and save to submit.
Notes:
- Invalid or immutable field changes are rejected by the Kubernetes API.
- If an update fails, adjust based on the error message and retry.
Edit CronJobopens in theAction Workspace. See Action Workspace for details.
Delete CronJob
Deletes the currently selected CronJob resource.
Steps:
- Select the target CronJob in the
CronJobslist. - Press
dto trigger deletion. - Confirm the action in the prompt.
Notes:
- Deletion removes the selected CronJob object from the cluster.
- Check dependent workloads before deletion to avoid service impact.