> Hello David,
> What "install process" are you referring to?
> Are you referring to the following snippet:
>
> long startTime = new java.util.Date().getTime();
> int frequency = RecurrenceRule.DAILY;
> int interval = 1;
> int count = 20;
> LocalDispatcher dispatcher=dctx.getDispatcher();
> dispatcher.schedule("myService",_context, startTime, frequency,
> interval, count);
> }catch (GenericServiceException e){
> Debug.logError("Error trying to Schedule Recurring payment Service: "
> + e.getMessage());
> }
>
> Can you tell me where/how should I use the above snippet?
>
> Deepak
>
> On 7/22/05, David E. Jones <
[hidden email]> wrote:
>
>>
>> You can't just put data into Entity Engine XML files, they must be
>> loaded through either the install process or the XML Import pages in
>> the WebTools webapp.
>>
>> -David
>>
>>
>> On Jul 22, 2005, at 10:00 AM, deepak sahu wrote:
>>
>>
>>> Hello Everyone,
>>> I am using OFBiz (version 5027) on Windows 2000.
>>> I have a requirement of running a particular piece of job after
>>> every 15 days.
>>> I came across the Job Scheduler feature of OFBiz and I think this is
>>> what I should use.
>>>
>>> After going through this list and the code in Order application I
>>> understand that to use a scheduled job I need to add
>>> MyAppScheduledServices.xml and make an entry in the
>>> ofbiz-component.xml of MyApp.
>>>
>>> Basically I copied the ProductScheduledServices.xml into MyApp\data
>>> and made required changes. I gave unique values for the
>>> recurrenceRuleId,recurrenceInfoIdand jobId. I gave the startDateTime
>>> as 2005-07-22 00:00:00.000 and runTime as 2005 07-22 15:00:00.000.
>>> I specified a service which has a System.out.println statement.
>>> Next I
>>> restarted the server and waited for the service to be called. I got
>>> nothing.
>>> I checked the JobSandbox entity with webtools but didn't find any
>>> entry for my service.
>>>
>>> Can anybody plz tell me what I am missing?
>>> I would really appreciate some help.
>>>
>>> With Regards,
>>> Deepak
>>>
>>> _______________________________________________
>>> Users mailing list
>>>
[hidden email]
>>>
http://lists.ofbiz.org/mailman/listinfo/users>>>
>>>
>>
>>
>> _______________________________________________
>> Users mailing list
>>
[hidden email]
>>
http://lists.ofbiz.org/mailman/listinfo/users>>
>>
>
> _______________________________________________
> Users mailing list
>
[hidden email]
>
http://lists.ofbiz.org/mailman/listinfo/users>