https://github.com/callicoder/spring-boot-scheduler-example
The project demonstrates how to schedule tasks with Spring Boot using the @Scheduled annotation
https://github.com/callicoder/spring-boot-scheduler-example
scheduler spring-boot
Last synced: about 2 months ago
JSON representation
The project demonstrates how to schedule tasks with Spring Boot using the @Scheduled annotation
- Host: GitHub
- URL: https://github.com/callicoder/spring-boot-scheduler-example
- Owner: callicoder
- Created: 2017-08-03T14:03:57.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-10-13T10:10:06.000Z (over 3 years ago)
- Last Synced: 2025-04-19T08:34:29.733Z (2 months ago)
- Topics: scheduler, spring-boot
- Language: Java
- Homepage: https://www.callicoder.com/spring-boot-task-scheduling-with-scheduled-annotation/
- Size: 50.8 KB
- Stars: 34
- Watchers: 4
- Forks: 52
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# 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 - 11
2. Maven - 3.x.x
## Steps to setup
**1. Clone the application**
```bash
git clone https://github.com/callicoder/spring-boot-scheduler-example.git
```**2. Build and run the app using maven**
```bash
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 -
```bash
mvn spring-boot:run
```