代码说明
This commit is contained in:
@ -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;
|
||||||
|
|
||||||
|
|||||||
@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user