代码说明
This commit is contained in:
@ -11,7 +11,7 @@ import org.springframework.stereotype.Component;
|
||||
@Slf4j
|
||||
@Component
|
||||
public class LianYingChongXie {
|
||||
@Scheduled(cron = "0 10 2 * * ?")
|
||||
@Scheduled(cron = "0 10 2 1-15 * ?")
|
||||
public void main1() {
|
||||
Boolean flag = true;
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@ import java.util.List;
|
||||
@Component
|
||||
public class LyZhiKong {
|
||||
|
||||
@Scheduled(cron = "0 0 0 * * ?")
|
||||
@Scheduled(cron = "0 0 0 1-15 * ?")
|
||||
public void main1() {
|
||||
String yue1 = TimeUtil.yue();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user