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
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -53,12 +53,18 @@ Consider the following command:
53
53
54
54
This provides only one argument to the batch job: `someParameter=someValue`.
55
55
56
+
57
+
56
58
[[howto.batch.restarting-a-failed-job]]
57
59
=== Restarting a stopped or failed Job
58
60
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
+
60
67
61
-
NOTE: When using a custom `JobParametersIncrementer`: Be prepared to gather all parameters managed by the incrementer in order to restart a failed execution.
0 commit comments