I explored and found that in quartz cron expressions :
sec min hour day_of_month month day_of_week year,
we can provide either day_of_month
or day_of_week
, but not both of them, as it's not implemented yet.
I want to run the scheduler after every two weeks
and on MONDAY, THURSDAY, FRIDAY at 12 pm , then how can I achieve this.
providing following cron expression won't work:
* * 12 1/14 * MON, THU, FRI *
because we can't provide both day_of_week and day_of_month
.
So, please let me know if there exists any other way of doing it, some other library etc. And I do not want to handle it in business logic rather simply using the cronexpression
should suffice my needs.