Apex_cleaner.zip -
: Run the following in the Developer Console to start the daily cleanup:
: Uses metadata settings so admins can adjust cleaning rules without modifying code. Apex_Cleaner.zip
The package is designed for Salesforce environments to automate the removal of obsolete data, temporary logs, and orphaned records. This utility helps maintain storage limits and improves system performance by leveraging Apex Compression for efficient metadata and log handling. Package Structure & Components The .zip file contains the following directory structure: classes/ : Run the following in the Developer Console
CleanerBatch.cls : A Batchable class for processing large volumes of data without hitting governor limits. Apex_Cleaner.zip
: Identifies and removes Attachment or ContentDocument records that are no longer linked to active parent records.