Is a sheduler always executed on publish?

Avatar

Avatar

tim-schwalbe-NZ

Avatar

tim-schwalbe-NZ

tim-schwalbe-NZ

29-01-2018

I have written a sheduler, it seems to run in author instance but not in publish. Is this the normal behavior?

Which JCR is the publish instance using? The data is in author JCR but not in publish JCR.

Are there some steps required to bring the data from author jcr to publish JCR or is it required to activate the sheduler on publish also?

Thanks and regards!

Replies

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

29-01-2018

IN most cases, scheduler should be executed on Author. This also helps reduce load on Pub.

Avatar

Avatar

tim-schwalbe-NZ

Avatar

tim-schwalbe-NZ

tim-schwalbe-NZ

29-01-2018

And how is the content brought to pub? is there a mechanism to publish it automatically? It's a scheduler which runs every 15 minutes.

The scheduler only gets data for a servlet.

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

29-01-2018

When you run on PUB - what is happening exactly - there is no technical reason why it will not work on PUB.

Avatar

Avatar

Veena_Vikram

MVP

Avatar

Veena_Vikram

MVP

Veena_Vikram
MVP

29-01-2018

Hi Tom

    If the scheduler pulls in some data, run it in author and then replicate it to publish instances. This forum question and corresponding answers have almost all your answers I believe Programatically replicate a page

    Let me know if you need more info

Thanks

Veena