You can schedule the Version Purge maintenance task from the Ops Dashboard to delete old versions automatically. As a result, this minimizes the need to manually use the Version Purge tools.You can schedule and configure the Version Purge task by accessing Tools > Operations > Maintenance > Weekly Maintenance Window and following these steps:
The default values are the recommended configuration values for the Version Purge task. Adjusting these values is necessary in the case of version retention requirements.
AEM also has a Version Purge tool that can run ad hoc version purges. The configurations for the Version Purge task and the Version Purge tool are unrelated.