27 lines
693 B
Markdown
27 lines
693 B
Markdown
=========================================================================
|
|
|
|
## Scheduling in Spring with Quartz Example Project
|
|
This is the first example where we configure a basic scheduler.
|
|
##### Spring boot application, Main class
|
|
###
|
|
```
|
|
org.baeldung.springquartz.SpringQuartzApp
|
|
```
|
|
######
|
|
|
|
##### Configuration in *application.properties*
|
|
####
|
|
|
|
- Default: configures scheduler using Spring convenience classes:
|
|
```
|
|
using.spring.schedulerFactory=true
|
|
```
|
|
- To configure scheduler using Quartz API:
|
|
```
|
|
using.spring.schedulerFactory=false
|
|
```
|
|
|
|
### Relevant Articles:
|
|
- [Scheduling in Spring with Quartz](http://www.baeldung.com/spring-quartz-schedule)
|
|
|