Is the Cron Job and the Pipeline handled by the same Cocoon instance?
How are you calling your pipeline? Are you calling it using HttpClient
or are you using internal methods?
If you are calling a pipeline on the same system ... make your CronJob
implement Servicable and use the ServiceManager
Sanket Pattekar wrote:
Thanks for the reply...
As Ard pointed out I need to have an external pipleine for the cron.
In our environment, we have internet and intranet URLs that are
accessible. I can put a check that would only allow the pipeline to be
executed from intranet, but that is not what
Thanks for the reply...
As Ard pointed out I need to have an external pipleine for the cron.
In our environment, we have internet and intranet URLs that are
accessible. I can put a check that would only allow the pipeline to be
executed from intranet, but that is not what I need.
I need to chec
Hello,
think I kind of know the setup of Sanket: he needs an external pipeline,
because a host needs to be matched.
@Sanket: you might add a "non-external-existing" host in your sites.xconf, and
use external pipeline. From the outside, nobody will be able to run this one,
right. Or, you do ha
Hi Sanket,
do I understand you correct. You want your cronjob to execute an
external pipeline on the same cocoon instance the cron job is runing and
want to prevent external users from accessing the same pipeline
manually? Why not use an internal pipeline instead? You could create an
internal
Hi,
I am using a cron job that fires daily, which call the pipeline as follows
some-external-pipeline
The above cron job uses an extaernal pipeline, it can also be accessed
by the external user. I want to prevent the same, and some
authentication, so that this pipeline is only executed