Skip to content

Spring TaskScheduler not accurate [SPR-6981] #11646

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

Closed
spring-projects-issues opened this issue Mar 14, 2010 · 0 comments
Closed

Spring TaskScheduler not accurate [SPR-6981] #11646

spring-projects-issues opened this issue Mar 14, 2010 · 0 comments
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: duplicate A duplicate of another issue

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Mar 14, 2010

Simon Wong opened SPR-6981 and commented

I got the latest task-basic spring samples from svn. I have tried to changed the cron expression to "0/10 * * * * ?" and verify the triggering time. I found that the triggering time is not exactly every ONCE for every 10 seconds. It might execute twice and have some time variation.

Mon Mar 15 11:00:40 CST 2010 <-- correct
Mon Mar 15 11:00:49 CST 2010 <-- incorrect time and also should not trigger, as it is incorrect trigger time
Mon Mar 15 11:00:50 CST 2010 <-- trigger twice??
Mon Mar 15 11:01:00 CST 2010 <-- correct again


Affects: 3.0.1

Issue Links:

@spring-projects-issues spring-projects-issues added type: bug A general bug in: core Issues in core modules (aop, beans, core, context, expression) status: duplicate A duplicate of another issue labels Jan 11, 2019
@spring-projects-issues spring-projects-issues removed the type: bug A general bug label Jan 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

1 participant