<bean id="sysLogging" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="egovSysLogScheduling" />
<property name="targetMethod" value="sysLogSummary" />
<property name="concurrent" value="false" />
</bean>
<bean id="sysLogTrigger" class="org.springframework.scheduling.quartz.SimpleTriggerFactoryBean">
<property name="jobDetail" ref="sysLogging" />
<property name="startDelay" value="30000" />
<property name="repeatInterval" value="864000000" />
</bean>
<bean id="cronTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
<property name="jobDetail" ref="sysLogging" />
<property name="cronExpression" value="0 11 * * * ?" />
</bean>
<bean id="sysLogScheduler" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref bean="cronTrigger" />
</list>
</property>
</bean>
sysLogTrigger 에서 cronTrigger 로 변경
cronTriggerBean 에서 cronTriggerFactoryBean 으로 변경
'JAVA' 카테고리의 다른 글
전자정부프레임워크 ajax사용을 위한 jsonView 설정 (0) | 2020.10.11 |
---|---|
[전자정부프레임워크] Tomcat JNDI Oracle/Mysql 설정 (1) | 2019.01.15 |
JSP htmlspecialchars (0) | 2019.01.08 |
JSP 확장자 구하기 (0) | 2019.01.08 |
[전자정부프레임워크 v3.7] 스프링 시큐리티 <sec:authorize access (0) | 2019.01.08 |