AEM OOTB Sitemap Scheduler not triggering and is not generating Sitemaps | Community
Skip to main content
Level 2
March 7, 2025

AEM OOTB Sitemap Scheduler not triggering and is not generating Sitemaps

  • March 7, 2025
  • 4 replies
  • 722 views

Hi All,

AEM: 6.5.12


I’m encountering this issue for the first time. I’m currently using the AEM OOTB Sitemap generator for testing purposes. However, when I try to use the scheduler approach, the job gets stuck and doesn't trigger. please refer below screenshot.

 

 

The logs don’t provide much information. I’ve attempted to create the scheduler through /system/console/ConfigMgr and even added a run mode, but it still doesn’t work. However, the "On Demand" approach works perfectly fine. I checked from status-slingsitemap and it appears as scheduled.



I've done the the following actions:
- re-index from oak:index -> slingSitemap
- Adding  the config to be placed "/apps/system/conf/ (didn't work)
- Adding runmode config (didn't work).
- flushing classloader (didn't work).

Is there a way to know if the scheduler got stuck somehow?. if so, do you know the path where I can check it?. Previosly, it was working fine but not sure what changed. 

4 replies

giuseppebaglio
Level 10
March 7, 2025

You might want to take a look at this guide; it could be helpful. help: https://experienceleague.adobe.com/en/docs/experience-manager-learn/sites/seo/sitemaps 

Level 2
March 7, 2025

Hi @giuseppebaglio ,


I know how to implement the OOTB Sitemap. I've gone through the official documentation long before. This doesn't solve the issue I'm having but thanks for the link.

Adobe Employee
March 11, 2025

@luis_ochoa Have you tried adding the debug log for the package "org.apache.sling.sitemap.impl.SitemapScheduler" and check the logs?

himesh_srivatsav
Level 2
March 29, 2026

Hi ​@Luis_Ochoa 

As u mentioned that you are using OOTB sitemap generator, have you tried disabling the on demand flag in the sitemap generator for the scheduler job to run ?

org.apache.sling.sitemap.impl.SitemapGeneratorManagerImpl.cfg.json

{
"allOnDemand": false
}

 

PGURUKRISHNA
Level 4
April 6, 2026

Hey ​@Luis_Ochoa If On-Demand works but scheduled sitemap generation never triggers, check if org.apache.sling.sitemap.impl.SitemapGeneratorManagerImpl is set to allOnDemand=true. That forces sitemaps to generate only on request, so the scheduler won’t create anything. Set allOnDemand=false. Also enable DEBUG for org.apache.sling.sitemap.impl.SitemapScheduler to see execution details in logs. When the scheduler runs successfully, output is written under /var/sitemaps

Pagidala GuruKrishna