开启定时任务

hehai
rong.liu 4 years ago
parent 5e070ab9f9
commit 1e072dbf8d
  1. 2
      src/main/java/com/msdw/tms/TmsApplication.java

@ -6,7 +6,7 @@ import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.scheduling.annotation.EnableScheduling;
//@EnableScheduling//定时任务 @EnableScheduling//定时任务
@SpringBootApplication @SpringBootApplication
public class TmsApplication extends SpringBootServletInitializer { public class TmsApplication extends SpringBootServletInitializer {

Loading…
Cancel
Save