<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/beans
	http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">

	

	<!-- System Crawler -->
	<bean name="schedulingJob" class="org.springframework.scheduling.quartz.JobDetailFactoryBean">
		<property name="Durability" value="true"/>
		<property name="jobClass" value="ez.metrix.run.SystemCrawler" />
	</bean>
	<!-- Cron Trigger, run every in 7 hour -->
	<bean id="cronTriggerScheduling" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
		<property name="jobDetail" ref="schedulingJob" />
		<property name="cronExpression" value="0 0 7 * * ?" />
	</bean>
	<bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
		<property name="jobDetails">
			<list>
				<ref bean="schedulingJob" />
			</list>
		</property>
		<property name="triggers">
			<list>
				<ref bean="cronTriggerScheduling" />
			</list>
		</property>
	</bean>

<!-- Customer Drop -->



<!-- Auto create endPoint -->
	

<!-- Auto push notification -->
	

<!-- Auto reset num of book user group quota -->
	

<!-- Auto push notification deal end -->
	


	<bean name="scanExpireCustomerJob" class="org.springframework.scheduling.quartz.JobDetailFactoryBean">
		<property name="Durability" value="true"/>
		<property name="jobClass" value="ez.metrix.run.AutoScanExpireCustomer" />
	</bean>
	<bean id="simpleTriggerScanExpireCustomerJob" class="org.springframework.scheduling.quartz.SimpleTriggerFactoryBean">
		<property name="jobDetail" ref="scanExpireCustomerJob" />
		<property name="repeatInterval" value="#{T(java.time.Duration).ofHours(6).toMillis()}" />
		<property name="startDelay" value="10000" />
	</bean>
	<bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
		<property name="jobDetails">
			<list>
				<ref bean="scanExpireCustomerJob" />
			</list>
		</property>
		<property name="triggers">
			<list>
				<ref bean="simpleTriggerScanExpireCustomerJob" />
			</list>
		</property>
	</bean>
</beans>