How to change cron job status using Groovy script?
We have gone through situations to forcefully stop the running cron job or set the cron job status to Aborted, so one of the faster ways to do it is using the following groovy script.
We have gone through situations to forcefully stop the running cron job or set the cron job status to Aborted, so one of the faster ways to do it is using the following groovy script.
Sometimes we have to work on data preparation in the development process or update the stock multiple time for testing. Using an Impex can be faster for updating inventory and voiding any mistakes. Here is the sample Impex to stock updates for particular Products and warehouse
Assisted Service Module is an add-on in hybris. It allows the customer service agent to login to the website as the customer and get the same view as the customer does. Once logged-in, the agent can perform any action on customers behalf. This functionality is available out of box both B2C and B2B. We can …
import de.hybris.platform.cronjob.model.CronJobModel; CronJobModel job= cronJobService.getCronJob(“Job ID”); job.setNodeID(0); job.setNodeGroup(null); cronJobService.performCronJob( job);