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
12 days agoGraciela
22 hours agoAlease
2 days agoNell
5 days agoYasuko
15 days agoLajuana
21 days agoGoldie
28 days agoIvory
15 days agoVan
19 days agoEleonora
20 days agoLoreta
1 months agoJaney
2 days agoWenona
16 days agoGeraldine
18 days agoNoel
1 months agoSkye
2 months agoErnie
17 days agoEleonora
1 months agoLorrie
1 months ago