https://github.com/magesuite/magesuite-report-file-cleaner
The module was created in order to avoid cases when hundreds of thousands of files were placed in var/report which slowed down file operations and the deployment process. The module allows periodic cleaning of files.
Installation
This module is optional.
composer require "creativestyle/magesuite-report-file-cleaner" ^1.0.0
Admin settings
Admin setting can be found under Stores -> Configuration -> Advanced -> System
in the Report File Cleaner
tab.
The module is disabled by default when installed.
Settings:
Field | Options | Comment |
---|---|---|
Enabled | Yes/No | |
Period of storing files in days | ||
Cleaning files cron schedule expression | Default: 0 0 15 * * | |
Cleaning files patterns | Default: report/* | The base directory is var/ Currently stored files amount: /var/www/projects/creativeshop/var/report/*: 34 |
Backend
Documentation is in progress
Frontend
There is no frontend functionality in this module.