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:
PURGELOG age(7)
or
PURGELOG 7
Purge completed jobs older than 7 days:
PURGECOMPLETEDJOBS olderthan(‘now less 7 days’)