Ways to deal with Daylight Savings time with Quartz Cron Trigger -
i have quartz cron trigger looks so:
<bean id="batchprocesscrontrigger" class="org.springframework.scheduling.quartz.crontriggerbean"> <property name="jobdetail" ref="batchprocessjobdetail" /> <property name="cronexpression" value="0 30 2 * * ?" /> </bean>
how should solve this, if have several configurations happen within 2-3am period? there accepted best practice?
relevant link: http://www.quartz-scheduler.org/docs/faq.html#faq-daylightsavings
basically says "deal it." question how!
i solved using separate trigger fires (an hour early) on beginning date of dst configurations happen between 2am , 3am eastern.
seems kludgey, works...
Comments
Post a Comment