cancel
Showing results for 
Search instead for 
Did you mean: 

How to modify the cronjob in the extension in AcceleratorServices

0 Kudos

I want to add a new field into the product.xml in the file SiteMapMediaJob ( cronjob ) in acceleratorservices and I want to write code for this field but I can not change it because the acceleratorservices file is in the hybris/ ext-accelerator. What should I do?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Deniz, You can override the SiteMapMediaJob in your core extension. Create a new cronjob with same alias and there you can override the perform method of SiteMapMediaJob .

Reference :
For details of how to override the cronjob, please refer to Aliases and Overriding Beans section of Spring Framework in SAP Hybris Commerce. https://help.hybris.com/6.4.0/hcd/8c63621986691014a7e0a18695d7d410.html

Answers (0)