Merge branch '2.0.x'

This commit is contained in:
Andy Wilkinson
2018-10-09 15:09:15 +01:00
3 changed files with 15 additions and 1 deletions

View File

@@ -6253,6 +6253,11 @@ NOTE: By default, the database is detected and initialized by using the standard
provided with the Quartz library. It is also possible to provide a custom script by
setting the `spring.quartz.jdbc.schema` property.
To have Quartz use a `DataSource` other than the application's main `DataSource`, declare
a `DataSource` bean, annotating its `@Bean` method with `@QuartzDataSource`. Doing so
ensures that the Quartz-specific `DataSource` is used by both the `SchedulerFactoryBean`
and for schema initialization.
By default, jobs created by configuration will not overwrite already registered jobs that
have been read from a persistent job store. To enable overwriting existing job definitions
set the `spring.quartz.overwrite-existing-jobs` property.