この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
Dear team,
We have scheduled a job on author environment it is working fine, but my concern is when the project is replicated on publish environment will the job be also scheduled on publish. If yes then please suggest how do we avoid this scenario.
Note:- Currently My project folder contains component rendering, servlets and scheduler classes
with regards,
Richa Chaubey
解決済! 解決策の投稿を見る。
In your scheduling service you can define
Now, create only the OSGI Config only for author runmode.
Your service will never be satisfied in publish instance so no execution.
You can refer: http://www.computepatterns.com/43/osgi-component-in-aem-that-is-active-only-in-specific-run-mode-say...
Hi,
Generally have seen activate methods in scheduler which will have something like
this.isEnabled = PropertiesUtil.toBoolean(properties.get("scheduler.enable"), false);
So, may be by default its disabled and only if enabled it will work , irrespective of the environments.
May be we can await inputs from other members as well on this.
See this SUpport KB that may help you -- Adobe Experience Manager Help | Scheduler and scheduled jobs FAQ
表示
返信
いいね!の合計
In your scheduling service you can define
Now, create only the OSGI Config only for author runmode.
Your service will never be satisfied in publish instance so no execution.
You can refer: http://www.computepatterns.com/43/osgi-component-in-aem-that-is-active-only-in-specific-run-mode-say...