0
votes

We are using spring 4 in our project. We have a cron expression like

cron.start.lease.notification=0 0 0 1 JAN MON

below is the pattern taken from oracle website Oracle site for cron link

Sec(0-59),min(0-59),Hr(0-23),day of month(0-11),month(JAN-DEC), day of week(SUN-SAT)

purpose to have this frequency was not to run whereas we have actual value which overrides it.

Here my question is till last year cron.start.lease.notification=0 0 0 1 JAN MON was working, after jan 1 it is saying this is not a valid regular expression. To start tomcat server these values being read. Any clue why this has stopped working.

1
show us the code and relevant configuration - Bond - Java Bond
cron.start.lease.notification=0 0 0 1 JAN MON configured in property file and spring reads it. @Scheduled(cron = "${cron.start.lease.notification}") is actual annotation on method to execute it - spandey
anyone else faced this issue? - spandey
i feel there is some changes been made at spring library side - spandey

1 Answers

0
votes

i feel there is some changes been made at spring library side. Though this is not accurate answer, waiting from experts to hear the soloution