spring-boot-scheduler-example
spring-boot-scheduler-example copied to clipboard
The project demonstrates how to schedule tasks with Spring Boot using the @Scheduled annotation
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
-
Java - 11
-
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