quartz-spring-boot-starter

Parent pom providing dependency and plugin management for applications built with Maven

Лицензия

Лицензия

Категории

Категории

Spring Boot Контейнер Микросервисы Quartz Библиотеки уровня приложения Job Scheduling
Группа

Группа

xyz.luomu32
Идентификатор

Идентификатор

quartz-spring-boot-starter
Последняя версия

Последняя версия

1.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

quartz-spring-boot-starter
Parent pom providing dependency and plugin management for applications built with Maven
Ссылка на сайт

Ссылка на сайт

https://projects.spring.io/spring-boot/#/spring-boot-starter-parent/quartz-spring-boot-starter
Система контроля версий

Система контроля версий

https://github.com/luomu32/quartz-spring-boot-starter

Скачать quartz-spring-boot-starter

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/xyz.luomu32/quartz-spring-boot-starter/ -->
<dependency>
    <groupId>xyz.luomu32</groupId>
    <artifactId>quartz-spring-boot-starter</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/xyz.luomu32/quartz-spring-boot-starter/
implementation 'xyz.luomu32:quartz-spring-boot-starter:1.0.1'
// https://jarcasting.com/artifacts/xyz.luomu32/quartz-spring-boot-starter/
implementation ("xyz.luomu32:quartz-spring-boot-starter:1.0.1")
'xyz.luomu32:quartz-spring-boot-starter:jar:1.0.1'
<dependency org="xyz.luomu32" name="quartz-spring-boot-starter" rev="1.0.1">
  <artifact name="quartz-spring-boot-starter" type="jar" />
</dependency>
@Grapes(
@Grab(group='xyz.luomu32', module='quartz-spring-boot-starter', version='1.0.1')
)
libraryDependencies += "xyz.luomu32" % "quartz-spring-boot-starter" % "1.0.1"
[xyz.luomu32/quartz-spring-boot-starter "1.0.1"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-configuration-processor Необязательный jar 2.0.9.RELEASE
org.springframework.boot : spring-boot-autoconfigure-processor Необязательный jar 2.0.9.RELEASE

provided (3)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter jar 2.0.9.RELEASE
org.quartz-scheduler : quartz jar 2.3.0
org.springframework : spring-context-support jar

test (2)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter-test jar 2.0.9.RELEASE
org.springframework : spring-tx jar

Модули Проекта

Данный проект не имеет модулей.

Spring Boot Quartz Integration Extension

Maven Central

this extension base on spring boot quartz autoconfiguration.so make sure add spring boot dependency into your project first.

Example

base on CronTrigger,will be executed by every minute.

@SchedulerJob(cron = "0 0/1 * * * ?")
public class FooJob implements Job {
    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        //do some logic...
    }
}

base on SimpleTrigger,will be executed 10 times and each time interval 20 second.

@SchedulerJob(repeatCount = 10,interval = 20000)
public class FooJob implements Job {
    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        //do some logic...
    }
}

Requirements

  • Java 6+
  • Spring Boot 2.0.0+
  • Quartz 2.3.0+

Версии библиотеки

Версия
1.0.1