Problem with @Schedule with Quartz features in CronExpression #26289
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
I am running with Spring Boot v2.4.1 and Spring v5.3.2
With I try to run with
@Scheduled(cron = "0 0 10 ? * TUE#1")
works fine, as discussed in #22436.But when I try to run with
@Scheduled(cron = "0 0 10 ? * TUE#1,TUE#3,TUE#5")
it gives the error below.My code example is as follows:
Error:
Is this a real issue or is not suported at all?
PS: As workaround I'm creating 3 separated schedules:
@Scheduled(cron = "0 0 10 ? * TUE#1"), @Scheduled(cron = "0 0 10 ? * TUE#3"), @Scheduled(cron = "0 0 10 ? * TUE#5")
The text was updated successfully, but these errors were encountered: