代码说明
This commit is contained in:
@ -1,9 +1,13 @@
|
||||
package com.example.sso.newcontroller;
|
||||
|
||||
import com.example.sso.newdao.*;
|
||||
import org.springframework.scheduling.annotation.Scheduled;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
public class ZhiKongDelete {
|
||||
public static void main(String[] args) {
|
||||
@Scheduled(cron = "0 0 15 * * ?")
|
||||
public void main() {
|
||||
DeleteZhiKong.main1();
|
||||
DeleteZhiKong1.main2();
|
||||
DeleteZhiKong2.main3();
|
||||
|
||||
Reference in New Issue
Block a user