연계 스케쥴 수정

main
mjkhan21 1 year ago
parent f2c7c53e21
commit 0e12052c06

@ -15,7 +15,7 @@
</bean> </bean>
<bean id="smgReceiverTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean"> <bean id="smgReceiverTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
<property name="jobDetail" ref="smgReceiver" /> <property name="jobDetail" ref="smgReceiver" />
<property name="cronExpression" value="0 0/1 * * * ?" /> <!-- 10분마다 --> <property name="cronExpression" value="0 0/10 * * * ?" /> <!-- 10분마다 -->
</bean> </bean>
<!-- 국민신문고 민원답변 전송 --> <!-- 국민신문고 민원답변 전송 -->
@ -25,7 +25,7 @@
</bean> </bean>
<bean id="smgSenderTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean"> <bean id="smgSenderTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
<property name="jobDetail" ref="smgSender" /> <property name="jobDetail" ref="smgSender" />
<property name="cronExpression" value="0 0/1 * * * ?" /> <!-- 10분마다 --> <property name="cronExpression" value="0 0/10 * * * ?" /> <!-- 10분마다 -->
</bean> </bean>
<!-- epost 전자우편 신청 전송 --> <!-- epost 전자우편 신청 전송 -->
@ -35,7 +35,7 @@
</bean> </bean>
<bean id="epostSenderTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean"> <bean id="epostSenderTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
<property name="jobDetail" ref="epostSender" /> <property name="jobDetail" ref="epostSender" />
<property name="cronExpression" value="0 0/1 0 * * ?" /> <!-- 10분마다 --> <property name="cronExpression" value="0 0/10 0 * * ?" /> <!-- 10분마다 -->
</bean> </bean>
<!-- epost 전자우편 결과 수신 --> <!-- epost 전자우편 결과 수신 -->
@ -45,8 +45,8 @@
</bean> </bean>
<bean id="epostReceiverTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean"> <bean id="epostReceiverTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
<property name="jobDetail" ref="epostReceiver" /> <property name="jobDetail" ref="epostReceiver" />
<!--property name="cronExpression" value="0 30 0 * * ?" /> < 매일 00:30 --> <property name="cronExpression" value="0 30 0 * * ?" /> <!-- 매일 00:30 -->
<property name="cronExpression" value="0 0/1 0 * * ?" /> <!-- 1분마다 --> <!-- property name="cronExpression" value="0 0/1 0 * * ?" /> <1분마다 -->
</bean> </bean>
<bean id="schedulerFactory" class="org.springframework.scheduling.quartz.SchedulerFactoryBean"> <bean id="schedulerFactory" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">

Loading…
Cancel
Save