/spring-boot-scheduler-example

The project demonstrates how to schedule tasks with Spring Boot using the @Scheduled annotation

Primary LanguageJava

Spring Boot Task Scheduling Example

Learn how to schedule tasks with Spring Boot -

https://www.callicoder.com/spring-boot-task-scheduling-with-scheduled-annotation/

Requirements

  1. Java - 1.8.x

  2. Maven - 3.x.x

Steps to setup

1. Clone the application

git clone https://github.com/callicoder/spring-boot-scheduler-example.git

2. Build and run the app using maven

cd spring-boot-scheduler-example
mvn package
java -jar target/scheduler-demo-0.0.1-SNAPSHOT.jar

You can also run the app without packaging it using -

mvn spring-boot:run