Skip to content

Commit

Permalink
Merge branch '3.0.x'
Browse files Browse the repository at this point in the history
Closes gh-34707
  • Loading branch information
scottfrederick committed Mar 21, 2023
2 parents 80403b2 + b01513b commit a27bbbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 content, 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.

Expand Down

0 comments on commit a27bbbd

Please sign in to comment.