Skip to content

Commit ba99830

Browse files
committed
Polish "Add a Restarting a stopped or failed Job section to the batch howto"
See gh-38326
1 parent 00ce9aa commit ba99830

File tree

1 file changed

+8
-2
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto

1 file changed

+8
-2
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/batch.adoc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,18 @@ Consider the following command:
5353

5454
This provides only one argument to the batch job: `someParameter=someValue`.
5555

56+
57+
5658
[[howto.batch.restarting-a-failed-job]]
5759
=== Restarting a stopped or failed Job
5860

59-
In order to restart a failed `Job`, all parameters (identifying and non-identifying) have to be re-specified on the command line. Non-identifying parameters are *not* copied from the previous execution. This allows them to be modified or removed.
61+
To restart a failed `Job`, all parameters (identifying and non-identifying) must be re-specified on the command line.
62+
Non-identifying parameters are *not* copied from the previous execution.
63+
This allows them to be modified or removed.
64+
65+
NOTE: When you're using a custom `JobParametersIncrementer`, you have to gather all parameters managed by the incrementer to restart a failed execution.
66+
6067

61-
NOTE: When using a custom `JobParametersIncrementer`: Be prepared to gather all parameters managed by the incrementer in order to restart a failed execution.
6268

6369
[[howto.batch.storing-job-repository]]
6470
=== Storing the Job Repository

0 commit comments

Comments
 (0)