ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.
Please share cli command to purge logs and completed jobs older than 7 days
Article ID: 198345
CA Workload Automation DE - Business Agents (dSeries)
CA Workload Automation DE
CA Workload Automation DE - System Agent (dSeries)
CA Workload Automation DE - Scheduler (dSeries)
We are in the process of deleting logs and completed Jobs that are older than 7. We are planning to run a job that does this activity everyday. Kindly advise on the cli commands that can achieve this.
Release : 12.2
Component : CA WORKLOAD AUTOMATION DE (DSERIES)
These are the CLI commands to purge logs and completed jobs older than 7 days;
Purge server tracelogs older than 7 days:
Purge completed jobs older than 7 days:
PURGECOMPLETEDJOBS olderthan(‘now less 7 days’)