| Author |
Quartz Scheduler that run in every two or three weeks
|
Neri Michael Abat
Greenhorn
Joined: Feb 01, 2008
Posts: 4
|
|
Hello gurus...
I need to create a schedule that will run Monday, Wednesday and Friday at 5:00 pm but it should run every two weeks from the start date. the cron expression that i've created is not working
0 0 17 ? * 2/14,4/14,6/14
what i did was to multiply 7 with 2 (7*2) to come up with 14 but this expression only runs week, the "/14" is not working.
I would appreciate any help coming from you guys...
thanks in advance.
|
 |
Martijn Verburg
author
Bartender
Joined: Jun 24, 2003
Posts: 3268
|
|
|
Short answer is I don't think you can, see this for a way around it in cron (you'll need to do the equivalent in Quartz.)
|
Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
|
 |
 |
|
|
subject: Quartz Scheduler that run in every two or three weeks
|
|
|