I'm over my limit for jobs or job runs. How can I delete them?
You receive a message that the limit for jobs or job runs is exceeded.
Code Engine has quotas for jobs and job runs within a project.
You are limited to 100 jobs per project and 100 job runs per project before you need to clean up old ones. See Limits and quotas for Code Engine.
Use one of the following ways to check that the quota limit for jobs and job runs is not exceeded.
-
From the console, select your project and then go to the Code Engine Overview page. You can view the number of jobs and job runs for the project in the Summary section. For more details, select Jobs or Job runs from the Summary section or select Jobs from the navigation menu.
-
With the CLI,
- Run the
ibmcloud ce jobrun list
command to list all your defined job runs. - Run the
ibmcloud ce job list
command to list all your defined jobs.
- Run the
If the number of jobs or job runs is near the quota limit, delete job runs and then jobs as needed.
When you delete a job, all the submitted job runs that reference this job are also deleted.
-
From the console, select your project and then go to the Code Engine Overview page. You can view the number of jobs and job runs for the project in the Summary section. For more details, select Jobs or Job runs from the Summary section or select Jobs from the navigation menu.
- To delete a specific job run of a job, select the job from the Jobs page. From the specific job page, click the name of the job run from the Latest job runs section, and then select Delete job run in the drop-down menu.
- To delete a specific job and all its job runs from the Jobs page, click the Delete icon .
-
With the CLI,
- Run the
ibmcloud ce jobrun delete
command to delete the specified job run. - Run the
ibmcloud ce job delete
command to delete your defined job and all the submitted job runs that reference this job.
- Run the
For more information, see Working with jobs and job runs and Debugging jobs.