#timer #CronExpression

Wrong Timer Execution

Good morning ,

Let me make the issue clear , well I have a timer that should be executed from 28th to 2nd working day of each month (without considering weekends).

I made a certain logic to calculate business days and then used this CRON expression that I have built .

00 00 12 28,29,30,31,3,4 * ? * (3,4 are the business days of May ).

Logically, on the 1st and 2nd day of the month ( which are Saturday and Sunday) , the timer shouldn't be executed , but I got totally the opposite, I don't know what's going on in the background .

Notifications