Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am unable to create cron expression to fire every 5 minutes starting at 3:45am and ending at 7:20am every day.

Can anybody help on this?

share|improve this question
What does this have to do with Java? – Jesper Aug 12 '10 at 11:09
1  
Jesper I am using cron expression in java only through package org.quartz.CronExpression; org.quartz.CronTrigger; – ashish khandelwal Aug 12 '10 at 11:15

migrated from stackoverflow.com Aug 12 '10 at 14:32

closed as off topic by random Aug 12 '10 at 17:09

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

2 Answers

try several triggers, this is too complicated for one. register all of them with the same job.

share|improve this answer

Morsch,

Did you mean like this:

  • 45/5 3 * * ?
  • 0/5 4-7 * * ?
  • 0-20 7 * * ?

Thanks, Ashish Khandelwal

share|improve this answer