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-projects-issues opened this issue Apr 18, 2013 · 2 comments
Closed
Assignees
Labels
status: backported An issue that has been backported to maintenance branches type: documentation A documentation task
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues 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-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Oct 28, 2015

Martin Macko commented

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

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Oct 28, 2015

Juergen Hoeller commented

Good catch!

@spring-projects-issues spring-projects-issues added status: backported An issue that has been backported to maintenance branches type: documentation A documentation task labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 4.2.3 milestone Jan 11, 2019
This was referenced Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: backported An issue that has been backported to maintenance branches type: documentation A documentation task
Projects
None yet
Development

No branches or pull requests

2 participants