A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Badass: Making Users Awesome
this week in the
Other Open Source Projects
Quartz Scheduler that run in every two or three weeks
Neri Michael Abat
Joined: Feb 01, 2008
Apr 01, 2009 00:54:45
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.
Joined: Jun 24, 2003
Apr 01, 2009 11:39:14
Short answer is I don't think you can, see
for a way around it in cron (you'll need to do the equivalent in Quartz.)
Cheers, Martijn -
The Well-Grounded Java Developer book!
I agree. Here's the link:
subject: Quartz Scheduler that run in every two or three weeks
Add days, but not weekend days
Can someone help me figure this out
Facing problem for building cron expression daily for every N days
Cron expression issue
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015