Cron Aggregates
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.
- Supported Magento versions
- 2.4.9
- License
- MIT
- Categories
- Administration & Backend, Analytics & Tracking
687 installs★ 0 stars107 downloads/monthLatest: v1.0.0Released 2026-03-31
composer require justbetter/magento2-cron-aggregatesREADME
Reproduced from the package’s own README, under its own license, as of 2026-10-31. Links and images point back at the source repository.
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.
Calculate the montly and yearly aggregates using the cron instead of an admin endpoint
composer require justbetter/magento2-cron-aggregatesbin/magento module:enable JustBetter_CronAggregatesbin/magento setup:upgradebin/magento setup:di:compilebin/magento setup:static-content:deploy
Please create a issue or a pull request.
The MIT License (MIT). Please see License File for more information.
Links
- Packagist
- PackageMaven (source of the quality data)
- Repository
- Issues