legacy-knowledge-base
公開されました Sep. 10, 2025

ユーザーはスケジューラージョブを設定したいが、クラスタ内の特定の1つのノードにしか設定できない。

written-by

Anishq Sharma

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • ユーザーは、スケジューラージョブをクラスタの特定の1つのノードだけで実行させたい。

環境

  • Liferay DXP 7.1
  • Liferay DXP 7.2
  • Liferay DXP 7.3
  • Liferay DXP 7.4

解像度

  • ノードのportal-ext.propertiesファイルに以下のプロパティを設定することで、特定のノードでcronジョブを無効化することができます:
    scheduler.enabled=false
  • ただし、これはLiferayが内部でジョブをスケジューリングするため、Liferayが推奨しない。 対象となるノードがダウンした場合、ジョブは一切実行されません。
did-this-article-resolve-your-issue

legacy-knowledge-base