quartz scheduler - quarz cron expression to run a job every n weeks on mon, wed? -
i have (weird) requirement schedule job every n weeks on mon, wed @ 9 am. trigger must quartz compatible.
here how when n=2.
july 3rd 2017 (mon)
july 5rd 2017 (wed)
july 17th 2017 (mon)
july 19th 2017(wed)
july 31st 2017(mon)
aug 2nd 2017(wed)
and so-on..
what far is
0 0 9 * * mon,wed
- every week. cant build cron expression every 2 weeks.
i looked @ quartz dateintervaltrigger can give interval unit of 2. still can't functionality of mon and wed in it.
i open other quartz triggers. can't find satisfy needs here.
i not think achievable single quartz trigger.
if not problem, can satisfy scheduling requirements 2 calendarintervaltriggers following properties:
trigger mondays
trigger wednesdays
resulting job fire times
screenshots quartzdesk, quartz scheduler management , monitoring product founded. not have use quartzdesk create above-described triggers, made easier present idea.
Comments
Post a Comment