代码说明

This commit is contained in:
lijiazhuo
2026-02-12 13:59:42 +08:00
parent 9ae03f88c2
commit fc2b23582e
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ import org.springframework.stereotype.Component;
@Slf4j @Slf4j
@Component @Component
public class LianYingChongXie { public class LianYingChongXie {
@Scheduled(cron = "0 10 2 * * ?") @Scheduled(cron = "0 10 2 1-15 * ?")
public void main1() { public void main1() {
Boolean flag = true; Boolean flag = true;

View File

@ -16,7 +16,7 @@ import java.util.List;
@Component @Component
public class LyZhiKong { public class LyZhiKong {
@Scheduled(cron = "0 0 0 * * ?") @Scheduled(cron = "0 0 0 1-15 * ?")
public void main1() { public void main1() {
String yue1 = TimeUtil.yue(); String yue1 = TimeUtil.yue();