Good Afternoon,
I am trying to define a cron job for a specified time window for a filter notification as follows:
0 0/15 15-16 ? * MON-FRI
From what I understand this should only run from 3pm to 4pm, but it is running constantly.
Please let me know what I've got mixed up.
Thanks,
Erik
Community moderators have prevented the ability to post new answers.
Hi @Erik K. Schindeldecker is it really running constantly? I think it should be ran from 15:00 to 16:45 with 15 minutes interval.
If you want to run it only at 15:00, 15:15, 15:30 and 15:45, it should be 0 0/15 15-15 ? * MON-FRI.
You can debug your expression here: https://www.freeformatter.com/cron-expression-generator-quartz.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.