@ -73,23 +71,25 @@ public class QuartzAutoConfiguration implements ApplicationContextAware {
@@ -73,23 +71,25 @@ public class QuartzAutoConfiguration implements ApplicationContextAware {
@ -98,7 +98,7 @@ public class QuartzAutoConfiguration implements ApplicationContextAware {
@@ -98,7 +98,7 @@ public class QuartzAutoConfiguration implements ApplicationContextAware {
@ -122,12 +122,6 @@ public class QuartzAutoConfiguration implements ApplicationContextAware {
@@ -122,12 +122,6 @@ public class QuartzAutoConfiguration implements ApplicationContextAware {
@ -136,7 +130,6 @@ public class QuartzAutoConfiguration implements ApplicationContextAware {
@@ -136,7 +130,6 @@ public class QuartzAutoConfiguration implements ApplicationContextAware {
@ -144,15 +137,22 @@ public class QuartzAutoConfiguration implements ApplicationContextAware {
@@ -144,15 +137,22 @@ public class QuartzAutoConfiguration implements ApplicationContextAware {
@ -41,12 +41,12 @@ public class QuartzDatabaseInitializer extends AbstractDatabaseInitializer {
@@ -41,12 +41,12 @@ public class QuartzDatabaseInitializer extends AbstractDatabaseInitializer {
@ -130,9 +130,10 @@ content into your application; rather pick only the properties that you need.
@@ -130,9 +130,10 @@ content into your application; rather pick only the properties that you need.
spring.profiles.include= # Unconditionally activate the specified comma separated profiles (or list of profiles if using YAML).
spring.quartz.initializer.enabled=true # Create the required Quartz Scheduler tables on startup if necessary. Enabled automatically if the schema is configured.
spring.quartz.job-store-type=memory # Quartz job store type.
spring.quartz.schema=classpath:org/quartz/impl/jdbcjobstore/tables_@@platform@@.sql # Path to the SQL file to use to initialize the database schema.
spring.quartz.jdbc.initialize-schema=false # Create the required Quartz Scheduler tables on startup.
spring.quartz.jdbc.schema=classpath:org/quartz/impl/jdbcjobstore/tables_@@platform@@.sql # Path to the SQL file to use to initialize the database schema.
# Reactor
spring.reactor.stacktrace-mode.enabled=false # Set whether Reactor should collect stacktrace information at runtime.
@ -8,4 +8,4 @@ The sample uses Maven. It can be built and run from the command line:
@@ -8,4 +8,4 @@ The sample uses Maven. It can be built and run from the command line:
$ mvn spring-boot:run
----
Console log will now show Hello message from SampleJob every 10 seconds.
Console log will now show "Hello World!" from `SampleJob` every 2 seconds.