mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Add a Restarting a stopped or failed Job section to the batch howto
See gh-38326
This commit is contained in:
parent
3406391f63
commit
00ce9aab00
@ -53,7 +53,12 @@ Consider the following command:
|
||||
|
||||
This provides only one argument to the batch job: `someParameter=someValue`.
|
||||
|
||||
[[howto.batch.restarting-a-failed-job]]
|
||||
=== Restarting a stopped or failed Job
|
||||
|
||||
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.
|
||||
|
||||
NOTE: When using a custom `JobParametersIncrementer`: Be prepared to gather all parameters managed by the incrementer in order to restart a failed execution.
|
||||
|
||||
[[howto.batch.storing-job-repository]]
|
||||
=== Storing the Job Repository
|
||||
|
Loading…
Reference in New Issue
Block a user