Skip to content

Commit 4a6762a

Browse files
committed
Merge branch '3.0.x' into 3.1.x
Closes gh-38340
2 parents 24cb05c + a33d8f2 commit 4a6762a

File tree

1 file changed

+11
-0
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto

1 file changed

+11
-0
lines changed

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

+11
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,17 @@ This provides only one argument to the batch job: `someParameter=someValue`.
5555

5656

5757

58+
[[howto.batch.restarting-a-failed-job]]
59+
=== Restarting a stopped or failed Job
60+
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+
67+
68+
5869
[[howto.batch.storing-job-repository]]
5970
=== Storing the Job Repository
6071
Spring Batch requires a data store for the `Job` repository.

0 commit comments

Comments
 (0)