You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/batch.adoc
+11
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,17 @@ This provides only one argument to the batch job: `someParameter=someValue`.
55
55
56
56
57
57
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
+
58
69
[[howto.batch.storing-job-repository]]
59
70
=== Storing the Job Repository
60
71
Spring Batch requires a data store for the `Job` repository.
0 commit comments