How to run cron Job using groovy script from HAC

import de.hybris.platform.cronjob.model.CronJobModel;

CronJobModel job= cronJobService.getCronJob(“Job ID”);
job.setNodeID(0);
job.setNodeGroup(null);
cronJobService.performCronJob( job);

Leave a Comment

Your email address will not be published. Required fields are marked *