ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 31 - AD0-E722 discussion

Report
Export

A custom cron job has been added to an Adobe Commerce system to collect data for several reports. Its crontab. xml configuration is as follows:

The job is data intensive and runs for between 20 and 30 minutes each night.

Within a few days of deployment, it is noticed that the sites sitemap. xml file has not been updated since the new job was added.

What should be done to fix this issue?

A.
Change the schedule of the siten.aP_generate cron job to 30 0 * * *so that it runs after the gather_reporting_data job has completed.
Answers
A.
Change the schedule of the siten.aP_generate cron job to 30 0 * * *so that it runs after the gather_reporting_data job has completed.
B.
Create a new cron group for the reporting job, specifying <use_separate_process>i</use_separate_process>
Answers
B.
Create a new cron group for the reporting job, specifying <use_separate_process>i</use_separate_process>
C.
Break the data gathering job into a number of smaller jobs, so that each individual job runs for a maximum of 5 minutes
Answers
C.
Break the data gathering job into a number of smaller jobs, so that each individual job runs for a maximum of 5 minutes
Suggested answer: B

Explanation:

The issue here is that the gather_reporting_data job is running for a long time and blocking the sitemap_generate job from running. The solution is to create a new cron group for the reporting job and specify <use_separate_process>i</use_separate_process> so that the reporting job runs in a separate process and does not block the sitemap_generate job.Reference: https://experienceleague.adobe.com/docs/commerce-cloud-service/user-guide/architecture/starter-architecture.html?lang=en#cron-groups-and-processes

asked 02/10/2024
Salman Hashmi
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first