Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ The determination of normal or abnormal termination is based on the capture retu
Specifies, as a string, the regular expression for retrieving the return value (exit code) of the job script from the output of the stat command.
The specified string is passed to the RegExp constructor as it is, so it needs to be escaped if necessary.
Treats the only captured value in this regular expression as the return value.
However, if the specified string does not qualify as a regular expression or contains no captures, treat it as "Return value =-2". (This fact is also output to the log.)
However, if the specified string does not match the regular expression or contains no captures (e.g. the job was canceled and the script itself never produced a return value), success or failure is instead judged from the status code obtained via reJobStatus / reJobStatusCode. (This fact is also output to the log.)

#### reJobStatus
A string is a regular expression used to obtain the status code returned by the job scheduler from the output of the stat command.
Expand Down
2 changes: 1 addition & 1 deletion documentMD/user_guide/_for_admins/job_scheduler/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ submit, queueOpt, grpNameが全て指定された状態で、あるtaskコンポ
#### reReturnCode
statコマンドの出力から、ジョブスクリプトの戻り値(exit code)を取得するための正規表現を文字列で指定します。
この正規表現に含まれる唯一のキャプチャの値を戻り値として扱います。
ただし、指定された文字列が正規表現に該当しないまたはキャプチャが何も含まない場合は、 "戻り値=-2" として扱います。(その旨、ログにも出力されます。)
ただし、指定された文字列が正規表現に該当しないまたはキャプチャが何も含まない場合(ジョブがキャンセルされた場合など、スクリプト自身の戻り値が得られないケース)は、代わりに reJobStatus / reJobStatusCode で取得したステータスコードを元に成功・失敗を判定します。(その旨、ログにも出力されます。)

#### reJobStatus
statコマンドの出力から、ジョブスケジューラが返すステータスコードを取得するための正規表現を文字列でしています。
Expand Down
Loading