[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Messages posted by: jhouse  XML
Profile for jhouse -> Messages posted by jhouse [1698] Go to Page: Previous  1, 2, 3  ...  112, 113, 114
Author Message

We're trying to restore the old forum, it may take some weeks though.

In the mean time, the old forum was linked to to the users mailing list, so all contents can be found in the mailing list archive here:

https://quartz.dev.java.net/servlets/SummarizeList?listName=users

I'm not sure about the registration issue - someone from terracotta may need to answer.

james

Actually, a small extension/patch to cron trigger could enable the feature as well.
Yes, unfortunately you are correct, that there is not a trigger implementation that will handle the expression.

CronTrigger cannot accomplish it because 12 (number of months) is not divisible by 5.

SimpleTrigger cannot accomplish it because the interval between the 15ths of each month is not equal.

Other triggers (e.g. NthIncludedDayTrigger) have similar problems.

Your options are likely:

1- Write your own trigger implementation - and consider contributing back the the project a "NthOfTheMonth" trigger.
2- Use CronTrigger with a monthly schedule, then add code in the job to check if it has yet been 5 months since it ran, and if not, bail-out
3- Use CronTrigger or SimpleTrigger, and have the job reschedule itself for five months later as it completes. (Or use a TriggerListener or JobListener to do the rescheduling, so keep that logic out of the job).


good luck,
james

 
Profile for jhouse -> Messages posted by jhouse [1698] Go to Page: Previous  1, 2, 3  ...  112, 113, 114
Go to:   
Powered by JForum 2.1.7 © JForum Team