Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
}
```