@Scheduled(cron = "${update.interval.cron.value}")
public void doSomething(){...}
<context:property-placeholder location="myConfig.properties"/>
this works for me.
Type: Posts; User: vwggolf3; Keyword(s):
@Scheduled(cron = "${update.interval.cron.value}")
public void doSomething(){...}
<context:property-placeholder location="myConfig.properties"/>
this works for me.
Did you find out a solution ? I'm having the same issue.
did you find out a solution for reading the interval from a property file ? I'm having the same issue.
Cheers,
Stefan: sorry for asking again, are there any news regarding exporting to a roo file ?