Take the 2-minute tour ×
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

migrated from stackoverflow.com 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
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

2 Answers 2

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