Browse Source

Polish formatting in "Running Spring Batch Jobs on Startup"

See gh-36225
pull/37018/head
Yanming Zhou 3 years ago committed by Andy Wilkinson
parent
commit
9439494923
  1. 2
      spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/batch.adoc

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

@ -26,7 +26,7 @@ Spring Batch auto-configuration is enabled by adding `spring-boot-starter-batch` @@ -26,7 +26,7 @@ Spring Batch auto-configuration is enabled by adding `spring-boot-starter-batch`
If a single `Job` is found in the application context, it is executed on startup (see {spring-boot-autoconfigure-module-code}/batch/JobLauncherApplicationRunner.java[`JobLauncherApplicationRunner`] for details).
If multiple `Job` beans are found, the job that should be executed must be specified using configprop:spring.batch.job.name[].
To disable running a `Job` found in the application context, set the configprop:spring.batch.job.enabled[] to `false.`
To disable running a `Job` found in the application context, set the configprop:spring.batch.job.enabled[] to `false`.
See {spring-boot-autoconfigure-module-code}/batch/BatchAutoConfiguration.java[BatchAutoConfiguration] for more details.

Loading…
Cancel
Save