Cron Expression not working
See original GitHub issueI’ve followed every instruction in the readme but it is not working for me
config.yaml
jobs: cronjob: "0/9 0 0 * * ? *"
Job:
@On("${cronjob}") public class DeletionJob extends Job {
Application:
DeletionJob deleteJob = new DeletionJob(); bootstrap.addBundle(new JobsBundle(deleteJob));
Getting Error:
Caused by: java.lang.RuntimeException: CronExpression '${cronjob}' is invalid.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That feature will be released in version 4 I believe. Are you using version 3?
@vic0075 @mangexl could you please try it with https://search.maven.org/artifact/io.github.dropwizard-jobs/dropwizard-jobs-spring/4.0.0-RELEASE/jar and give a short feedback?