Brightspot CMS Developer Guide

Viewing sitemap background tasks


When you save the Sitemap plugin configuration, the server loads background tasks for sitemap generation. You can view the current states of the site background tasks with the Task Status tool.

To view Sitemap background tasks:

  1. In your web browser, navigate to http://brightspot-host/_debug/.
  2. Click Background Tasks.

Under Miscellaneous Tasks are the sitemap tasks: SiteMapTask if you enabled standard or video sitemaps, and NewsSiteMapTask if you enabled news sitemaps.

Miscellaneous tasks
Miscellaneous Tasks list

The Site Map Executor Queues section shows the status of the loaded sitemap tasks. The following example shows that two sitemap tasks have run, one for the standard sitemap and one for the news sitemap. The tasks are instances of SiteMapEntryConsumer, which read sitemap entries from an input queue, process (consume) the entries, and generate the sitemap XML files.

Sitemap executor.png
Sitemap executor

In the above example—

  • The Name column lists the tasks instances, and the Progress column shows the current state of the tasks. The first instance of SiteMapEntryConsumer ran one time and processed 4,457 entries to generate the standard sitemap. The second instance of SiteMapEntryConsumer ran one time in an attempt to generate the news sitemap, but did not find any sitemap entries less than 48 hours old. Both tasks are currently stopped.
  • Under Site Map Executor Queues, the Production table shows the input queues for sitemap entries, and the Consumption table lists the consuming tasks that processed the sitemap entries and generated the sitemap XML files.

Because the tasks are not currently running, the input queues in the Production table are empty; however, when the tasks ran previously, the first instance of SiteMapEntryConsumer successfully read and processed 4,457 entries, and the second instance of SiteMapEntryConsumer had no sitemap entries in the queue to process.

Previous Topic
Understanding Sitemaps
Next Topic
Viewing sitemaps
Was this topic helpful?
Thanks for your feedback.
The elements that get you up and running in a matter of days, from pre-built content types, to modules, to landing pages.

Content types
Modules
Landing pages
Everything you need to manage and administer content within Brightspot CMS, including plug-and-play integrations.

Dashboards
Authoring content
Workflows
Admin configurations
A guide for installing, supporting and administering code on the Brightspot platform, including integrations requiring developer support to use.

Field types
Content modeling
Rich-text elements
Images