You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
558 B
Java

package com.ann.demo.job.obsolete;
import com.ann.demo.job.SchedulerAllJob;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;
/**
* 定时任务
*
* @Author: LeiJiaXin
* @Date: 2019/7/13 17:03
*/
@Component
public class QuartzConfig implements CommandLineRunner {
@Autowired
public SchedulerAllJob scheduleJobs;
@Override
public void run(String... args) throws Exception {
//scheduleJobs.scheduleJobs();
}
}