01-24-2017 03:49 AM
02-03-2017 06:31 AM
I find the solution.
<bean id="customJobTrigger" class="org.alfresco.util.CronTriggerBean">
<property name="jobDetail">
<ref bean="customJobDetail" />
</property>
<property name="scheduler">
<ref bean="schedulerFactory" />
</property>
<property name="cronExpression">
<value>cronExpression</value>
</property>
</bean>
<bean id="customJobDetail" class="org.springframework.scheduling.quartz.JobDetailBean">
<property name="jobClass">
<value>CustomJobProcessor
</value>
</property>
</bean>
01-24-2017 09:19 AM
This guy had exactly the same problem
kayne zhang's answers must help you
01-24-2017 11:53 PM
Yes, I also tried that but does not work...
02-03-2017 06:31 AM
I find the solution.
<bean id="customJobTrigger" class="org.alfresco.util.CronTriggerBean">
<property name="jobDetail">
<ref bean="customJobDetail" />
</property>
<property name="scheduler">
<ref bean="schedulerFactory" />
</property>
<property name="cronExpression">
<value>cronExpression</value>
</property>
</bean>
<bean id="customJobDetail" class="org.springframework.scheduling.quartz.JobDetailBean">
<property name="jobClass">
<value>CustomJobProcessor
</value>
</property>
</bean>
Explore our Alfresco products with the links below. Use labels to filter content by product module.