robyaw
Thank you very much for your response. And I apologize for such a delay in the response. Actually, I didnβt work for a while. Your solution really works. I had to create three CRON triggers for the time range I specified. You were right with the time ranges you mentioned. However, for the 3 CRON expressions you mentioned. I am afraid that they may not work properly. These expressions work for the time range: 2:15 AM - 5:20 AM - Everyday
1) * 15-59 2 * * ? - every second from 2:15 to 3:00, i.e. from 2:15:00 to 2:59:59 AM
2) * 0-59 3-4 * * ? - every second from 3:00 to 5:00, i.e. from 3:00:00 to 4:59:59 AM
3) * 0-19 5 * * ? - every second from 5:00 to 5:20, i.e. from 5:00:00 to 5:19:59.
@gauteh: Note that Quartz.Net actually supports the second trigger.
Hope this helps others who might need a solution to a similar problem.
source share