On Mon, Oct 15, 2012 at 9:48 AM, Eugeny Kozhanov <ving...@gmail.com> wrote:
> Can I run any script while starting server? or immediately after the started
> server?
> TIA.
> Eugeny.
> On Mon, Oct 15, 2012 at 9:48 AM, Eugeny Kozhanov <vin...@gmail.com<javascript:>> > wrote: > > Can I run any script while starting server? or immediately after the > started > > server? > > TIA. > > Eugeny.
Mmh,
I don't think there is any explicit lifecycle detection, I think the
easiest way is to expose the endpoint, and call it from outside after
server startup and before you do the regular workload?
On Wed, Oct 17, 2012 at 6:19 AM, Eugeny Kozhanov <ving...@gmail.com> wrote:
> I want to start my warmup script while starting server (for example, in my
> plugin).
> On Tuesday, October 16, 2012 5:40:27 PM UTC+4, Peter Neubauer wrote:
>> Mmh,
>> that depends on what your architecture is? What are you trying to do?
>> On Mon, Oct 15, 2012 at 9:48 AM, Eugeny Kozhanov <vin...@gmail.com> wrote:
>> > Can I run any script while starting server? or immediately after the
>> > started
>> > server?
>> > TIA.
>> > Eugeny.
> Mmh,
> I don't think there is any explicit lifecycle detection, I think the
> easiest way is to expose the endpoint, and call it from outside after
> server startup and before you do the regular workload?
> On Wed, Oct 17, 2012 at 6:19 AM, Eugeny Kozhanov <ving...@gmail.com> wrote:
>> I want to start my warmup script while starting server (for example, in my
>> plugin).
>> On Tuesday, October 16, 2012 5:40:27 PM UTC+4, Peter Neubauer wrote:
>>> Mmh,
>>> that depends on what your architecture is? What are you trying to do?
>>> On Mon, Oct 15, 2012 at 9:48 AM, Eugeny Kozhanov <vin...@gmail.com> wrote:
>>>> Can I run any script while starting server? or immediately after the
>>>> started
>>>> server?
>>>> TIA.
>>>> Eugeny.
On Sunday, October 21, 2012 4:57:13 AM UTC+4, Michael Hunger wrote:
> If it is for Neo4j server, look into the PluginInitializer SPI that we > discussed here:
> Perhaps with a plugin lifecycle.
> Michael
> Am 17.10.2012 um 11:38 schrieb Peter Neubauer:
> > Mmh, > > I don't think there is any explicit lifecycle detection, I think the > > easiest way is to expose the endpoint, and call it from outside after > > server startup and before you do the regular workload?
> > On Wed, Oct 17, 2012 at 6:19 AM, Eugeny Kozhanov <vin...@gmail.com<javascript:>> > wrote: > >> I want to start my warmup script while starting server (for example, in > my > >> plugin).
> >> On Tuesday, October 16, 2012 5:40:27 PM UTC+4, Peter Neubauer wrote:
> >>> Mmh, > >>> that depends on what your architecture is? What are you trying to do?
> >>> On Mon, Oct 15, 2012 at 9:48 AM, Eugeny Kozhanov <vin...@gmail.com> > wrote: > >>>> Can I run any script while starting server? or immediately after the > >>>> started > >>>> server? > >>>> TIA. > >>>> Eugeny.
> On Sunday, October 21, 2012 4:57:13 AM UTC+4, Michael Hunger wrote:
> If it is for Neo4j server, look into the PluginInitializer SPI that we discussed here:
> Perhaps with a plugin lifecycle.
> Michael
> Am 17.10.2012 um 11:38 schrieb Peter Neubauer:
> > Mmh, > > I don't think there is any explicit lifecycle detection, I think the > > easiest way is to expose the endpoint, and call it from outside after > > server startup and before you do the regular workload?
> > On Wed, Oct 17, 2012 at 6:19 AM, Eugeny Kozhanov <vin...@gmail.com> wrote: > >> I want to start my warmup script while starting server (for example, in my > >> plugin).
> >> On Tuesday, October 16, 2012 5:40:27 PM UTC+4, Peter Neubauer wrote:
> >>> Mmh, > >>> that depends on what your architecture is? What are you trying to do?
> >>> On Mon, Oct 15, 2012 at 9:48 AM, Eugeny Kozhanov <vin...@gmail.com> wrote: > >>>> Can I run any script while starting server? or immediately after the > >>>> started > >>>> server? > >>>> TIA. > >>>> Eugeny.
> On Sunday, October 21, 2012 4:57:13 AM UTC+4, Michael Hunger wrote:
>> If it is for Neo4j server, look into the PluginInitializer SPI that we >> discussed here:
>> Perhaps with a plugin lifecycle.
>> Michael
>> Am 17.10.2012 um 11:38 schrieb Peter Neubauer:
>> > Mmh, >> > I don't think there is any explicit lifecycle detection, I think the >> > easiest way is to expose the endpoint, and call it from outside after >> > server startup and before you do the regular workload?
>> > On Wed, Oct 17, 2012 at 6:19 AM, Eugeny Kozhanov <vin...@gmail.com> >> wrote: >> >> I want to start my warmup script while starting server (for example, >> in my >> >> plugin).
>> >> On Tuesday, October 16, 2012 5:40:27 PM UTC+4, Peter Neubauer wrote:
>> >>> Mmh, >> >>> that depends on what your architecture is? What are you trying to do?
>> >>> On Mon, Oct 15, 2012 at 9:48 AM, Eugeny Kozhanov <vin...@gmail.com> >> wrote: >> >>>> Can I run any script while starting server? or immediately after the >> >>>> started >> >>>> server? >> >>>> TIA. >> >>>> Eugeny.