Log in
Model

AggregateSalesReportOrderData

Magento\Sales\Model\CronJob\AggregateSalesReportOrderData

What it does

This class is a cron job that automatically aggregates sales order data for reporting purposes.

It runs periodically to refresh sales statistics for the previous day (last 25 hours), ensuring that sales reports in the admin panel display up-to-date information.

Developers would use this when they need to understand or customize how Magento generates its sales reports and statistics.

Public Methods

  • execute()