JOB scheduling in Ofbiz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

JOB scheduling in Ofbiz

Vinu Varghese-2
Hi

I checked http://docs.ofbiz.org/display/OFBTECH/Service+Engine+Guide 
section Job Scheduler. My query is can I have a Job scheduled when Ofbiz
starts running, Is there any hook for this?

regards
Vinu

--
........................................
<signature>
   <full-name> Vinu Varghese </full-name>
   <company-email> [hidden email] </company-email>
   <company-website> www.x-minds.org </company-website>
   <big-words>
    Success always occurs in private, and failure in full view.
    </big-words>
   <company-name-big>
\/      ._ _   o  ._    _|   _
/\  ~~  | | |  |  | |  (_|  _\                                                        
    </company-name-big>
</signature>

Reply | Threaded
Open this post in threaded view
|

Re: JOB scheduling in Ofbiz

Divesh Dutta
Hello Vinu,
         In serviceengine.xml , you may find, <!-- Start-Up Services -->
section which is commented out. Here you may also find one example:
Here is the code snippet:  <startup-service name="testScv"
runtime-data-id="9900" runtime-delay="0" run-in-pool="pool"/>
This service will run every time when OFBiz starts. Hope this may help you.

Thanks
Divesh

Vinu Varghese wrote:
> Hi
>
> I checked http://docs.ofbiz.org/display/OFBTECH/Service+Engine+Guide 
> section Job Scheduler. My query is can I have a Job scheduled when
> Ofbiz starts running, Is there any hook for this?
>
> regards
> Vinu
>

Reply | Threaded
Open this post in threaded view
|

Re: JOB scheduling in Ofbiz

Vinu Varghese-2
Ah , thank you Divesh  :-)

........................................
<signature>
   <full-name> Vinu Varghese </full-name>
   <company-email> [hidden email] </company-email>
   <company-website> www.x-minds.org </company-website>
   <big-words>
    Success always occurs in private, and failure in full view.
    </big-words>
   <company-name-big>
\/      ._ _   o  ._    _|   _
/\  ~~  | | |  |  | |  (_|  _\                                                        
    </company-name-big>
</signature>



Divesh Dutta wrote:

> Hello Vinu,
>         In serviceengine.xml , you may find, <!-- Start-Up Services
> --> section which is commented out. Here you may also find one example:
> Here is the code snippet:  <startup-service name="testScv"
> runtime-data-id="9900" runtime-delay="0" run-in-pool="pool"/>
> This service will run every time when OFBiz starts. Hope this may help
> you.
>
> Thanks
> Divesh
>
> Vinu Varghese wrote:
>> Hi
>>
>> I checked http://docs.ofbiz.org/display/OFBTECH/Service+Engine+Guide 
>> section Job Scheduler. My query is can I have a Job scheduled when
>> Ofbiz starts running, Is there any hook for this?
>>
>> regards
>> Vinu
>>
>
>