Thanks Nicola and Taher for the responses

@Taher - I like the simplicity of the solution and using gradle for
dependencies which seems to be missing in the native cron or windows jobs,
but one caveat is to maintain two different solutions for Windows and
Linux, but since the features are native to the OS, we may still be able to
live with this, thanks for including the details

@Nicola - Understood Camel is a great integration option, but for the
usecase in hand i'm not able to comprehend how it fits.

On Thu, May 7, 2020 at 10:36 AM Taher Alkhateeb <[email protected]>
wrote:

>
> It seems from your input the work you want to schedule is simple and
> limited to OFBiz resources. If my understanding is correct, then a separate
> job scheduling system might be an overkill for simple housekeeping tasks.
> So to me the simplest solution is to:
>
> 1- create services in OFBiz for tasks that do not require shutting down
> OFBiz and schedule them using OFBiz scheduler. If you need access to the OS
> you can use processes [1]
> 2- create cron / windows jobs for the rest. The logic for these tasks can
> be placed in gradle (already ships with OFBiz) and you can define
> dependencies between these tasks from gradle [2]
>
> The above solution would keep you inside the eco-system of OFBiz and is
> easier to implement. I would only recommend moving to a full fledged job
> scheduling system if the complexity is very high, you have many nodes, and
> there is a lot of work todo.
>
> [1]
> https://docs.oracle.com/javase/8/docs/api/index.html?java/lang/Process.html
> [2]
> https://docs.gradle.org/current/userguide/tutorial_using_tasks.html#sec:task_dependencies
>
> On Thursday, May 07, 2020 14:42 +03, Sakthivel Vellingiri <
> [email protected]> wrote:
>  Thanks Pierre & Taher for the responses
>
> @Taher - Sorry for not providing additional details, i think you have fair
> questions, i deploy ofbiz in windows and linux environments, i'm looking
> for a cross platform scheduler that works in both windows and linux that
> supports dependencies between tasks, the tasks include but not limited to
> restarting ofbiz, taking database backups, cleanup logs etc all at a
> particular frequency but with dependencies between them
>
> @Pierre - will take a look at airflow
> regards
>
> On Thu, May 7, 2020 at 6:55 AM Taher Alkhateeb <[email protected]>
> wrote:
>
> >
> > Hello,
> >
> > The quetion is probably too broad for any recommendation. It really
> > depends. It also depends on the task being scheduled and how much
> > complexity do you need in the scheduling. If it is just a frequency
> thing,
> > then maybe cron is a perfectly suitable solution. If on the other hand
> you
> > have complex scheduling then other solutions might fit. IT also depends
> on
> > your environment. Are you on docker / container manager (e.g. swarm,
> > kubernets) then there are automation tools over there.
> >
> > The bottom line, the question is hard to answer. It Depends! You need to
> > be specific with your problem and specific with your environment for
> people
> > to help you with recommendations
> >
> >
> > On Thursday, May 07, 2020 13:36 +03, Sakthivel Vellingiri <
> > [email protected]> wrote:
> > Thanks Eugen for the response, i'm looking for recommendations in Open
> > Source Enterprise Jobscheduler for Windows & Unix in the likes of Tidal
> > Workload Automation > https://www.tidalsoftware.com/, Autosys Workload
> > Automation etc, Appreciate any pointers.
> >
> >
> >
> >
> > On Thu, May 7, 2020 at 6:14 AM Eugen Stan <[email protected]>
> wrote:
> >
> > > Hi,
> > >
> > > It seems to me that you are looking for tooling on how to do
> operations.
> > > I think those are environment specific.
> > >
> > > For example I deploy my apps using Docker and Kubernetes so most of
> that
> > > tooling is specific to these environments.
> > >
> > > if you refine your question and are more specific you might get a
> better
> > > answer.
> > >
> > > Regards,
> > >
> > > Eugen
> > >
> > > La 07.05.2020 12:49, Sakthivel Vellingiri a scris:
> > > > Thanks Michael for the response, i understood OFBIZ comes with its
> own
> > > > scheduler that could schedule individual services in OFBIZ, however
> i'm
> > > > looking for an enterprise scheduler that could be used for
> controlling
> > > > things like restarting ofbiz in a particular schedule, running
> database
> > > > backup outside of ofbiz etc. Any insights would be greatly
> appreciated
> > > >
> > > > regards
> > > >
> > > > On Thu, May 7, 2020 at 4:04 AM Michael Brohl <
> [email protected]
> > >
> > > > wrote:
> > > >
> > > >> Hi Sakthivel,
> > > >>
> > > >> OFBiz already comes with a job scheduler, see
> > > >> https://demo-trunk.ofbiz.apache.org/webtools/control/scheduleJob
> > > >>
> > > >> Best regards,
> > > >>
> > > >> Michael Brohl
> > > >>
> > > >> ecomify GmbH - www.ecomify.de
> > > >>
> > > >>
> > > >> Am 07.05.20 um 05:32 schrieb Sakthivel Vellingiri:
> > > >>> Hi All, Wanted to reach out to see if you have any recommendation
> for
> > > >> Open
> > > >>> Source Enterprise Job Scheduler, that works well for you with Ofbiz
> > (or
> > > >> any
> > > >>> other java based or other) in Production; Appreciate your insights
> > > >>>
> > > >>> regards
> > > >>> Sakthivel Vellingiri
> > > >>>
> > > >>
> > > --
> > > Eugen Stan
> > > +40720 898 747 / netdava.com
> > >
> > >
> >
> >
>
>

Reply via email to