Apex_cleaner.zip
: Automatically deletes ApexLog records to prevent storage bloat.
: Navigate to Static Resources in Setup and upload the Apex_Cleaner.zip if using it for LWC, or use Deployment Settings for code installation.
The manifest file listing all components for deployment via Workbench or SFDX. Apex_Cleaner.zip
Compress and Extract Zip Files in Apex (Generally Available)
System.schedule('Daily Apex Cleaner', '0 0 1 * * ?', new CleanerScheduler()); Use code with caution. Copied to clipboard : Automatically deletes ApexLog records to prevent storage
: Utilizes the Compression namespace (available in Spring '26) to archive data before deletion if backups are required. Deployment Instructions
: Uses metadata settings so admins can adjust cleaning rules without modifying code. Compress and Extract Zip Files in Apex (Generally
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/



