I like to have an implementation of one @Scheduled
job using different configuration properties of .yml
file.
Means in my yaml file I describe
A trick related to it: while defining the corn job timing, attribute name should be in lower case
for example: if it is in Camel case, spring did not kick the job :( application.yml:
common: scheduler: feedeErrorLogCleanUp: 0 0/5 * ? * *
WHEREAS BELOW STUFF WORKS
common: scheduler: feedeerrorlogcleanUp: 0 0/5 * ? * *