Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

migrated from Aug 12 '10 at 14:32

This question came from our site for professional and enthusiast programmers.

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 by the community. 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 reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

What does this have to do with Java? – Jesper Aug 12 '10 at 11:09
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

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

share|improve this answer


Did you mean like this:

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

Thanks, Ashish Khandelwal

share|improve this answer