티스토리 뷰

728x90
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("\\*$"),
            "?"
        )
)

https://niees.tistory.com/67

 

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

 

728x90

'공부' 카테고리의 다른 글

[chrome] tabs.executeScript()  (0) 2023.01.17
[bitbucket] git clone in pipeline  (0) 2023.01.17
[csv] escape json `"{""key"":""value""}"`  (0) 2023.01.17
[python] croniter  (0) 2023.01.16
[ansible] pip3 install ansible  (0) 2023.01.15
댓글