quartz-spring-boot-starter

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

License

License

Categories

Categories

Spring Boot Container Microservices Quartz Application Layer Libs Job Scheduling
GroupId

GroupId

xyz.luomu32
ArtifactId

ArtifactId

quartz-spring-boot-starter
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

quartz-spring-boot-starter
Parent pom providing dependency and plugin management for applications built with Maven
Project URL

Project URL

https://projects.spring.io/spring-boot/#/spring-boot-starter-parent/quartz-spring-boot-starter
Source Code Management

Source Code Management

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

Download quartz-spring-boot-starter

How to add to project

<!-- 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"]

Dependencies

compile (2)

Group / Artifact Type Version
org.springframework.boot : spring-boot-configuration-processor Optional jar 2.0.9.RELEASE
org.springframework.boot : spring-boot-autoconfigure-processor Optional jar 2.0.9.RELEASE

provided (3)

Group / Artifact Type Version
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)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-test jar 2.0.9.RELEASE
org.springframework : spring-tx jar

Project Modules

There are no modules declared in this project.

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+

Versions

Version
1.0.1