Log in
Model

Observer

Magento\Sitemap\Model\Observer

What it does

This observer class handles scheduled sitemap generation in Magento 2.

It runs as a cron job to automatically generate XML sitemaps for all configured stores, and sends error notification emails if generation fails.

Developers would use this to understand or customize the automated sitemap generation process.

Public Methods

  • scheduledGenerateSitemaps()