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?

View Entire Topic
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.