Delete - cleanupHistoricalData
Delete - cleanupHistoricalData
Description :
This command cleans up historical data from the database. Historical data includes Compliance Job results, Audit Job results, Snapshot Job results, Patching Job results, job run events, job schedules, and the audit trail.
This command runs using the default cleanup values for retention time. Default retention times are:
- For job schedules, job run events, and the audit trail: 14 days
- For job results (of Compliance Jobs, Audit Jobs, Snapshot Jobs, and Patching Jobs): As set by the RESULTS_RETENTION_TIME property, for which the default is 0 (no deletion of job data). For more information about the RESULTS_RETENTION_TIME property and how to set it, see To set the retention period for job runs.
As the default, no maximum duration is applied to the cleanup operation, and it runs until it completes or is aborted.
Return type : java.lang.Object
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*