Login  Register

Re: [OFBiz] Users - How to use the Job Scheduler

Posted by David E. Jones on Jul 22, 2005; 4:48pm
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Users-How-to-use-the-Job-Scheduler-tp135177p135178.html


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