Can anyone helps me to get the cron expression for last second work day of month(nearest day if it’s saturday or sunday)
0 0 0 L-2 * ? Means At 00:00:00am, 2 days before the end of the month, every month.
You can try generating the CRON expression here
1 Like
I do not want to include saturday, sunday. It should need to take the nearest work day. Ex., L-2 is sunday, then it should consider friday as L-2