Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The cron scheduled task stops running one hour before the DST ends #1104

Open
TwilightPureDrm opened this issue Feb 21, 2024 · 0 comments
Open
Labels
needs:review Needs review / investigation

Comments

@TwilightPureDrm
Copy link

When I configure a scheduled task to run every 15 seconds through the Spring configuration file, the scheduled task stops running one hour before the end of daylight saving time.

image

<bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
    <property name="triggers">
        <list>
            <ref bean="quartzTrigger" />
        </list>
    </property>
</bean>

<bean id="quartzTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
    <property name="cronExpression" value="*/15 * * * * ?"/>
    <property name="jobDetail" ref="quartzJob"/>
    <property name="misfireInstruction" value="2"></property>
</bean>
<bean id="quartzJob" class="org.springframework.scheduling.quartz.JobDetailFactoryBean">
    <property name="jobClass" value="quartz.RollOverTaskService"/>
    <property name="durability" value="true"/>
</bean>

quartz version is 2.4.0-rc2
Is this a bug or normal?

@jhouserizer jhouserizer added the needs:review Needs review / investigation label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs:review Needs review / investigation
Projects
None yet
Development

No branches or pull requests

2 participants