Overriding Scheduled Jobs
You can schedule the UPLOAD_BLOOMREACH_FEED
job to fetch all offer projections from the Catalog Projections Table
in the quartz scheduler using a cron expression.
You can change the default execution time. By default, the UPLOAD_BLOOMREACH_FEED
job runs every night at 1am.
Overriding the Default
In the
/ep-commerce/extensions/batch/ext-batch/src/main/resources/META-INF/conf/ep-batch-plugin.xml
file, add the following bean configuration:<bean id=“bloomreachFeedUploaderTrigger” class=“org.springframework.scheduling.quartz.CronTriggerFactoryBean”> <property name=“jobDetail” ref=“bloomreachFeedUploaderJob”/> <property name=“cronExpression” value=“0 0 1 * * ?”/> </bean>
Set the value for the job execution in the following line:
<property name=“cronExpression” value=“0 0 1 * * ?”/>
Run
mvn clean install
to rebuild the extensions and batch files.Restart the batch service