文件名称:spring-boot 2.0.2 数据库配置定时任务
文件大小:47KB
文件格式:RAR
更新时间:2021-08-16 08:22:22
springboot 定时任务 mybatis scheduled ta
spring-boot 2.0.2.RELEASE,将定时任务配置在数据库,启动项目的时候,用mybatis读取数据库,实例化对象,并设定定时任务。如果需要新增,减少,修改定时任务,仅需要修改数据库资料,并重启项目即可,无需改代码。含数据库建表语句和示范,运行application启动定时任务,测试类示范查看,修改定时任务。
【文件预览】:
SpringBoot-ScheduledTask-With-DataBase
----src()
--------test()
--------main()
----.idea()
--------libraries()
--------misc.xml(455B)
--------compiler.xml(861B)
--------uiDesigner.xml(9KB)
--------workspace.xml(59KB)
--------encodings.xml(172B)
--------inspectionProfiles()
--------modules.xml(316B)
----SpringBoot-ScheduledTask-With-DataBase.iml(6KB)
----pom.xml(3KB)