The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.

Multiple cron expressions execution for a single cron trigger

Hi
Could someone throw light on how to execute multiple cron expressions for a single trigger.
For example,i want to schedule a job from 10th Jul 2012 to 20th Aug 2012 at 4am.
so i the required cron expr are as follows.
"0 0 4 10-L 7 * 2012" -->from 10th of july to last day of july
"0 0 4 1-20 8 * 2012" --> from aug 1st to 20th aug

How to add these expr to a single trigger for the job to get scheduled and executed from 1th of july to 8th of august.