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?
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
Lashunda
8 days agoNell
1 days agoYasuko
11 days agoLajuana
17 days agoGoldie
24 days agoIvory
11 days agoVan
15 days agoEleonora
16 days agoLoreta
1 months agoWenona
12 days agoGeraldine
14 days agoNoel
1 months agoSkye
2 months agoErnie
13 days agoEleonora
1 months agoLorrie
1 months ago