You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
474 B
22 lines
474 B
2 years ago
|
package com.qs.serve.task;
|
||
|
|
||
|
import lombok.extern.slf4j.Slf4j;
|
||
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||
|
import org.springframework.scheduling.annotation.Scheduled;
|
||
|
import org.springframework.stereotype.Component;
|
||
|
|
||
|
/**
|
||
|
* @author YenHex
|
||
|
* @since 2023/6/1
|
||
|
*/
|
||
|
@Slf4j
|
||
|
//@Component
|
||
|
public class TestTasj {
|
||
|
|
||
|
@Scheduled(cron="*/10 * * * * ?")
|
||
|
public void test11(){
|
||
|
System.out.println("test------------------------");
|
||
|
}
|
||
|
|
||
|
}
|