This post was updated on .
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? |
OK
On Apr 18, 2018 11:57 AM, "Jonathan Javier" <[hidden email]> 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.* |
In reply to this post by Jonathan Javier
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 <[hidden email]> 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.* |
In reply to this post by Jonathan Javier
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.* > smime.p7s (5K) Download Attachment |
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 |
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 > |
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 <[hidden email]> 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 >> >> > |
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 <[hidden email]> 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 <[hidden email]> > 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 > >> > >> > > > |
Free forum by Nabble | Edit this page |