so I have a task I need to schedule, it needs to be ran every 10 minutes, from monday to friday between 10am and 8pm.
So far, I'm using this expression :
0 */10 10-19 * * mon-fri
Note : this is a Spring expression, but I believe the classic cron expression would be the same without the first 0 for the seconds. Is that Correct ?
The issue with this expression is that it runs correctly except for the 8pm, the last occurrence is 19:50 and not 20:00.
How could I fix this and make it run one more time ? Also I Believe it does, but to make sure, it will also run at 10:00 ?