I've spent hours looking through the recurrence rule code and doing
Google searches, but I'm still having a hard time understanding how to set up recurrence rules. Has there been any documentation done on this? Also, it appears to me there is no way to set up a recurrence that occurs on intervals like: 1. The second Sunday in May 2. The first Monday of every month or am I missing something? Is there a UI for entering recurrence rules? Any help would greatly appreciated! -Adrian |
Hi Adrian,
There are a total of four entities namely JobSandbox, RecurrenceRule, RecurrenceInfo, RuntimeData (Optinal) that are required to create a schedule service. From UI there are two steps to create a recurrence rule. Second step is optional. This is the step where the data is stored in RuntimeData entity. To create a RecurreceRule go to https://localhost:8443/webtools/control/scheduleJob Step 1 : Lets suppose we want to define a recurrence rule on createPerson service than we can enter values on page reached by above URL like Job = Create a person serviceName = createPerson Frequency = How the service will be called - is it after every second, every minute, every week etc. Select appropriate value from select box Interval = It will a interger value - if specified than the service will be invoked after the interval mentioned (Say we have selected Frequency = MINUTELY, Interval = 5 - the service will be invoked after every 5 minutes) Other fields have good description on this form itself. Once you submit this form, it will take you to second step. As we know that the service createPerson takes two required attributes i.e. firstName and lastName namely. Enter the value for these fields (and optional fields if you want) in second step. Submit this form. So we have now created a schedule service. Now you can status of the job in the job list at https://localhost:8443/webtools/control/jobList For creating a recurrence rule you can refer to the file ManufacturingScheduledServices.xml Rest of comments inline. On Tue, Jun 24, 2008 at 10:55 PM, Adrian Crum <[hidden email]> wrote: > I've spent hours looking through the recurrence rule code and doing Google > searches, but I'm still having a hard time understanding how to set up > recurrence rules. Has there been any documentation done on this? > I do not see any kind of document supporting these artifacts either. > > Also, it appears to me there is no way to set up a recurrence that occurs > on intervals like: > > 1. The second Sunday in May > 2. The first Monday of every month > I think these are not supported yet. > > or am I missing something? > > Is there a UI for entering recurrence rules? > > Any help would greatly appreciated! > > -Adrian Hope this helps ! - Vikas |
Vikas,
Your reply was very helpful. Thank you very much! -Adrian Vikas Mayur wrote: > Hi Adrian, > > There are a total of four entities namely JobSandbox, RecurrenceRule, > RecurrenceInfo, RuntimeData (Optinal) that are required to create a schedule > service. >>From UI there are two steps to create a recurrence rule. Second step is > optional. This is the step where the data is stored in RuntimeData entity. > To create a RecurreceRule go to > https://localhost:8443/webtools/control/scheduleJob > > Step 1 : > Lets suppose we want to define a recurrence rule on createPerson service > than we can enter values on page reached by above URL like > Job = Create a person > serviceName = createPerson > Frequency = How the service will be called - is it after every second, > every minute, every week etc. Select appropriate value from select box > Interval = It will a interger value - if specified than the service will be > invoked after the interval mentioned > (Say we have selected Frequency = MINUTELY, Interval = 5 - the service will > be invoked after every 5 minutes) > Other fields have good description on this form itself. > > Once you submit this form, it will take you to second step. As we know that > the service createPerson takes two required attributes i.e. firstName and > lastName namely. Enter the value for these fields (and optional fields if > you want) in second step. Submit this form. So we have now created a > schedule service. > > Now you can status of the job in the job list at > https://localhost:8443/webtools/control/jobList > > > For creating a recurrence rule you can refer to the file > ManufacturingScheduledServices.xml > > Rest of comments inline. > > > > On Tue, Jun 24, 2008 at 10:55 PM, Adrian Crum <[hidden email]> wrote: > >> I've spent hours looking through the recurrence rule code and doing Google >> searches, but I'm still having a hard time understanding how to set up >> recurrence rules. Has there been any documentation done on this? >> > > I do not see any kind of document supporting these artifacts either. > > >> Also, it appears to me there is no way to set up a recurrence that occurs >> on intervals like: >> >> 1. The second Sunday in May >> 2. The first Monday of every month >> > > > I think these are not supported yet. > > > >> or am I missing something? >> >> Is there a UI for entering recurrence rules? >> >> Any help would greatly appreciated! >> >> -Adrian > > > > Hope this helps ! > > - Vikas > |
Free forum by Nabble | Edit this page |