Skip to content
Discussion options

You must be logged in to vote

And if not specified...

For this you need to specify the enableIfMissing property on the annotation, see this.

... the service should execute every 1 minute.

Are you sure the expression you are using is evaluating correctly? I.e. @Scheduled(every = "${check.interval:1M}")
For an execution once a min, I think you could use something like @Scheduled(every="1m").

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@kirankolli-addepar
Comment options

@manovotn
Comment options

@kirankolli-addepar
Comment options

@manovotn
Comment options

@manovotn
Comment options

Answer selected by kirankolli-addepar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants