Apex_cleaner.zip -

: Run the following in the Developer Console to start the daily cleanup:

CleanerScheduler.cls : A Schedulable class to automate cleaning on a daily or weekly basis.

CleanerTest.cls : Unit tests ensuring 75%+ code coverage for deployment. Apex_Cleaner.zip

: Uses metadata settings so admins can adjust cleaning rules without modifying code.

: Update the Apex_Cleaner_Setting__mdt records to define your data retention policy. : Run the following in the Developer Console

Apex_Cleaner_Setting__mdt : A Custom Metadata Type to store retention periods (e.g., "Delete logs older than 30 days").

Compress and Extract Zip Files in Apex (Generally Available) Apex_Cleaner.zip

The manifest file listing all components for deployment via Workbench or SFDX.