Now that I have a fair number of jobs scheduled by Rundeck, how do I periodically prune the job execution history and keep only the last, say, 30 executions for each job?
Rundeck currently has no such feature and the following RFE has been opened to track its progress.
In the meanwhile on my Rundeck setups I use the following script, which, so far (fingers crossed), has not caused any problem:
RequirementsRundeck with postgres backend, psql client configured for passwordless authentication with ~/.pgpass.
Substitute YOURDBHOST with the name of the postgres database host.