Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/isnott/springboot-scheduler
简单的Sprintboot3本地定时任务调度器demo
https://github.com/isnott/springboot-scheduler
mybatis-plus scheduler-service spring-scheduling springboot3
Last synced: 5 days ago
JSON representation
简单的Sprintboot3本地定时任务调度器demo
- Host: GitHub
- URL: https://github.com/isnott/springboot-scheduler
- Owner: IsNott
- License: apache-2.0
- Created: 2024-07-19T06:30:43.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-19T07:00:20.000Z (5 months ago)
- Last Synced: 2024-07-19T15:01:09.632Z (5 months ago)
- Topics: mybatis-plus, scheduler-service, spring-scheduling, springboot3
- Language: Java
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
## 基于Springboot3+Mybatis-plus的动态任务调度执行器
简单的本地小型定时任务调度处理,支持cron、定时、间隔周期、周期定时调度任务的demo。### 版本-version
|name|version|
|--|--|
|spring-boot-starter-web|3.2.0|
|mybatis-plus-spring-boot3-starter|3.5.7|### 使用-using
详见TaskController控制层增加任务并立即调度(Add time task and schedule immediately)
```
request path: /task/add
request body:{
"className":"org.nott.service.TestService",
"beanName":"testService", // className和beanName任传其一
"executeMethod":"test",
"executeTime":"2024-07-18 15:03:00",
"executeMode":1,
"scheduleNow":true
}
```