Cron Aggregates for Magento 2
justbetter/magento2-cron-aggregates
Adds a cron job and CLI command to rebuild Magento's monthly and yearly sales report aggregates automatically, avoiding missing data and admin-endpoint timeouts on large stores.
Build Tests
Code Quality
Tested on Magento 2.4.9
Recent Test History
Each release is tested against the latest Magento version at that time.
Top Contributors
View LeaderboardShare This Module's Status
README
Loaded from GitHubMagento 2 Cron Aggregates
By default Magento only rebuilds the aggregates when an admin clicks on a button. This may result in missing or incorrect data, on larger shops it could even lead to timeouts. This module adds a cron and a command to run the aggregates automatically.
Main Functionalities
Calculate the montly and yearly aggregates using the cron instead of an admin endpoint
Installation
composer require justbetter/magento2-cron-aggregatesbin/magento module:enable JustBetter_CronAggregatesbin/magento setup:upgradebin/magento setup:di:compilebin/magento setup:static-content:deploy
Ideas, bugs or suggestions?
Please create a issue or a pull request.
License
The MIT License (MIT). Please see License File for more information.
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.