mirror of
https://github.com/dqjdda/Aurora.git
synced 2018-11-06 05:33:29 +00:00
update README.MD、app.html
This commit is contained in:
@@ -33,6 +33,9 @@ public class MyJobRunner implements ApplicationRunner {
|
||||
*/
|
||||
@Override
|
||||
public void run(ApplicationArguments applicationArguments){
|
||||
|
||||
System.out.println("--------------------开始注入定时任务---------------------");
|
||||
|
||||
List<Job> jobs = jobRepo.findAll();
|
||||
jobs.forEach(scheduleJob -> {
|
||||
ScheduleUtils.createScheduleJob(scheduler, scheduleJob);
|
||||
|
||||
Reference in New Issue
Block a user