The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

1090 Modules
617 Ready
473 Need Help
🏆 Leaderboard
Actively Maintained v1.0.0

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.

255
Downloads
Below average
0
GitHub Stars
3mo ago
Last Release
0
Open Issues
Build Passing
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
1 error , 16 warnings
L4 PHPStan

Tested on Magento 2.4.9

Recent Test History

Each release is tested against the latest Magento version at that time.

v1.0.0 on Magento 2.4.9
Jun 1, 2026

Share This Module's Status

Cron Aggregates for Magento 2 Magento compatibility status badge

README

Loaded from GitHub

Magento 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-aggregates
  • bin/magento module:enable JustBetter_CronAggregates
  • bin/magento setup:upgrade
  • bin/magento setup:di:compile
  • bin/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.