[java] org.springframework.beans.MethodInvocationException: Property 'cronExpression' threw exception; nested exception is java.text.ParseException: Support for specifying both a day-of-week AND a day-of-month parameter is not implemented.
org.springframework.beans.MethodInvocationException: Property 'cronExpression' threw exception; nested exception is java.text.ParseException: Support for specifying both a day-of-week AND a day-of-month parameter is not implemented.
val cron = CronExpression(
"0 " +
expr.replace(
Regex("\\*$"),
"?"
)
)
org.springframework.beans.MethodInvocationException: Property 'cronExpression' threw exception; nested exception is java.text.Pa
nested PropertyAccessExceptions (1) are: PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'cronExpression' threw exception; nested exception is java.text.ParseException: Support for specifying both a day-of-week AND
niees.tistory.com
https://fmd1225.tistory.com/60
[spring][quartz]cron 실행주기 설정
Cron의 실행주기를 설정하는 방법* * * * * * * 왼쪽부터 초 분 시간 일(Day of Month) 월 요일(Day of Week, 1-7 : SUN-SAT) 년도(생략가능) 의 순이다. 표현식* : 모든 값 ? : 특정 값 없음 - : 범위 지정 , : 여러 값
fmd1225.tistory.com
https://stackoverflow.com/questions/53539551/how-to-test-a-date-against-cron-expression
How to test a Date against Cron Expression
I need to test if a certain date matches a cron expression using Quartz.Net. I'm trying to get the below code to work, but fail. // The data I'm testing is Dec 4, 2018 which is a Tuesday. var date...
stackoverflow.com