Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to delete old executions and jobs from rundeck

Tags:

rundeck

I am having more than 30000 jobs and executions in my rundeck. Is there any API or CLI so that we can schedule to clean periodically. Because of too many jobs and executions rundeck throws java.lang.OutOfMemoryError: GC Overhead Limit and the services gets stops.

Also if there are more number. The UI takes long time to render the information.

Any documentations or scripts will be helpful.

like image 515
Jagadesh Avatar asked Dec 06 '25 08:12

Jagadesh


1 Answers

Using RD CLI you have this good option. So, if you're using Rundeck 3.1 or above, you can go to Project Settings > Edit Configuration > Execution History Clean (tab) and click on "Enable" checkbox (then you can define the parameters in the same page).

More info here.

like image 64
MegaDrive68k Avatar answered Dec 12 '25 12:12

MegaDrive68k



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!