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

Fix cron trigger example in reference documentation [SPR-10474] #15107

Closed
spring-issuemaster opened this issue Apr 18, 2013 · 2 comments

Comments

@spring-issuemaster
Copy link
Collaborator

commented Apr 18, 2013

Joe Gamache opened SPR-10474 and commented

The latest (3.2) documentation (section 27.3) uses this cron expression:

new CronTrigger("* 15 9-17 * * MON-FRI")

and states that "is being scheduled to run 15 minutes past each hour but only during the 9-to-5", but in reality, this is going to schedule EVERY SECOND during that minute (I guess assuming the task is short enough). At least it does when using the Scheduled annotation. (The documentation there is ambiguous which should probably be cleaned up too...)


Referenced from: commits dac8c9e, 48838d4, f6dd7e4

Backported to: 4.1.9, 3.2.16

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented Oct 28, 2015

Martin Macko commented

I've created a pull request for this: #904

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented Oct 28, 2015

Juergen Hoeller commented

Good catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.