QuestionQ31

VerifiedConfigure all aspects of Adobe Commerce Cloud

A custom cron job was added to an Adobe Commerce system to gather data for several reports. Its crontab.xml configuration is shown below:

Question Image

The job is data-intensive and runs for 20 to 30 minutes each night. Within a few days of deployment, it is observed that the site’s sitemap.xml file has not been updated since the new job was added.

What should be done to resolve this issue?

Explanation

Most Adobe Commerce cron jobs run in the default group. A long-running job in that group can delay other scheduled work until it exceeds the missed-job window. Defining a separate cron group for the reporting task with use_separate_process enabled runs that group independently, preventing the reporting task from blocking sitemap generation.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!