Log in
Model

AggregateSalesReportBestsellersData

Magento\Sales\Model\CronJob\AggregateSalesReportBestsellersData

What it does

This class is a cron job handler that automatically refreshes bestseller product statistics in Magento's sales reports.

It runs periodically to aggregate sales data from the last 25 hours, ensuring that the bestsellers report stays up-to-date with recent order information.

Developers would reference this class when customizing sales reporting schedules or understanding how Magento maintains its product performance analytics.

Public Methods

  • execute()