You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Jonathan Javier <ca...@gmail.com> on 2018/04/18 15:57:13 UTC
Implement JOB
Hello
I am looking for a way to implement a job to be able to do, for example,
that at certain times of the day an information backup of OFBiz is
executed. Where can I find an example of something similar or what would be
the paths to follow?
*Jonathan Cárdenas Vargas.*
Re: Implement JOB
Posted by Mike <mz...@gmail.com>.
It's not a good idea to use an application like ofbiz to launch a database
backup. It should be an external, cron driven, using best industry
standards for the database you are using.
On Fri, Apr 20, 2018, 1:07 AM Pritam Kute <pr...@hotwaxsystems.com>
wrote:
> Hello Jonathan,
>
> The steps mentioned by Nicolas will solve your problem. To read more about
> job scheduling in OFBiz, you can refer to following links:
>
>
> https://www.hotwaxsystems.com/ofbiz/ofbiz-tutorials/ofbiz-scheduling-planned-demand-services/
>
> https://cwiki.apache.org/confluence/display/OFBENDUSER/Temporal+Expressions+Tutorial
>
> Thanks and Regards
> --
> Pritam Kute
>
> On Thu, Apr 19, 2018 at 1:34 AM, Nicolas Malin <ni...@nereide.fr>
> wrote:
>
> > Hello Jonathan,
> >
> > If your problematic was run a service define on the service engine each 3
> > hours, follow this process:
> >
> > Go to https://yourserver/webtools/control/scheduleJob
> >
> > set field as :
> >
> > Service: your service name to run
> > Frequency: 3
> > Interval: Hourly
> > Count: -1
> > Max Retry: 0
> >
> > leave all other field empty and submit. Set your parameters for the run
> > and submit.
> >
> > Now on https://yourserver/webtools/control/FindJob your job will appear
> > as Pending service
> >
> > Nicolas
> >
> >
> >
> > On 18/04/2018 21:11, Jonathan Javier wrote:
> >
> >> I currently use H2.
> >>
> >> The idea of being able to execute an automatic backup of the data was by
> >> way
> >> of example.
> >> I would really like to use scheduled tasks to run a special service
> every
> >> 3
> >> hours during the day.
> >>
> >> Regards
> >>
> >>
> >>
> >> --
> >> Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html
> >>
> >>
> >
>
Re: Implement JOB
Posted by Pritam Kute <pr...@hotwaxsystems.com>.
Hello Jonathan,
The steps mentioned by Nicolas will solve your problem. To read more about
job scheduling in OFBiz, you can refer to following links:
https://www.hotwaxsystems.com/ofbiz/ofbiz-tutorials/ofbiz-scheduling-planned-demand-services/
https://cwiki.apache.org/confluence/display/OFBENDUSER/Temporal+Expressions+Tutorial
Thanks and Regards
--
Pritam Kute
On Thu, Apr 19, 2018 at 1:34 AM, Nicolas Malin <ni...@nereide.fr>
wrote:
> Hello Jonathan,
>
> If your problematic was run a service define on the service engine each 3
> hours, follow this process:
>
> Go to https://yourserver/webtools/control/scheduleJob
>
> set field as :
>
> Service: your service name to run
> Frequency: 3
> Interval: Hourly
> Count: -1
> Max Retry: 0
>
> leave all other field empty and submit. Set your parameters for the run
> and submit.
>
> Now on https://yourserver/webtools/control/FindJob your job will appear
> as Pending service
>
> Nicolas
>
>
>
> On 18/04/2018 21:11, Jonathan Javier wrote:
>
>> I currently use H2.
>>
>> The idea of being able to execute an automatic backup of the data was by
>> way
>> of example.
>> I would really like to use scheduled tasks to run a special service every
>> 3
>> hours during the day.
>>
>> Regards
>>
>>
>>
>> --
>> Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html
>>
>>
>
Re: Implement JOB
Posted by Nicolas Malin <ni...@nereide.fr>.
Hello Jonathan,
If your problematic was run a service define on the service engine each
3 hours, follow this process:
Go to https://yourserver/webtools/control/scheduleJob
set field as :
Service: your service name to run
Frequency: 3
Interval: Hourly
Count: -1
Max Retry: 0
leave all other field empty and submit. Set your parameters for the run
and submit.
Now on https://yourserver/webtools/control/FindJob your job will appear
as Pending service
Nicolas
On 18/04/2018 21:11, Jonathan Javier wrote:
> I currently use H2.
>
> The idea of being able to execute an automatic backup of the data was by way
> of example.
> I would really like to use scheduled tasks to run a special service every 3
> hours during the day.
>
> Regards
>
>
>
> --
> Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html
>
Re: Implement JOB
Posted by Jonathan Javier <ca...@gmail.com>.
I currently use H2.
The idea of being able to execute an automatic backup of the data was by way
of example.
I would really like to use scheduled tasks to run a special service every 3
hours during the day.
Regards
--
Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html
Re: Implement JOB
Posted by Michael Brohl <mi...@ecomify.de>.
Hi Jonathan,
which database do you use with OFBiz?
Regards,
Michael
Am 18.04.18 um 17:57 schrieb Jonathan Javier:
> Hello
>
> I am looking for a way to implement a job to be able to do, for example,
> that at certain times of the day an information backup of OFBiz is
> executed. Where can I find an example of something similar or what would be
> the paths to follow?
>
> *Jonathan Cárdenas Vargas.*
>
Re: Implement JOB
Posted by Akshat Aggarwal <ak...@gmail.com>.
OK
On Apr 18, 2018 11:57 AM, "Jonathan Javier" <ca...@gmail.com> wrote:
Hello
I am looking for a way to implement a job to be able to do, for example,
that at certain times of the day an information backup of OFBiz is
executed. Where can I find an example of something similar or what would be
the paths to follow?
*Jonathan Cárdenas Vargas.*
Re: Implement JOB
Posted by Paul Mandeltort <pa...@marcospec.com>.
Backups at the database level are best.
Depending on which database you use there are standard practices and lots of options. If you’re deploying fresh, you can look into something like Amazon Aurora or other hosted Postgres providers which handle backups for you.
—P
> On Apr 18, 2018, at 10:57, Jonathan Javier <ca...@gmail.com> wrote:
>
> Hello
>
> I am looking for a way to implement a job to be able to do, for example,
> that at certain times of the day an information backup of OFBiz is
> executed. Where can I find an example of something similar or what would be
> the paths to follow?
>
> *Jonathan Cárdenas Vargas.*