modify apple inventory monitor schedule

This commit is contained in:
JiyangTang 2023-10-16 10:04:22 +08:00
parent d47781b91a
commit 7041128996

View File

@ -56,7 +56,7 @@ public class AppleInventorySchedule {
@Resource @Resource
private DingTalkMsgPushUtils dingTalkMsgPushUtils; private DingTalkMsgPushUtils dingTalkMsgPushUtils;
@Scheduled(cron = "0 0/8 * * * ? ") @Scheduled(cron = "0 0/30 * * * ? ")
public void appleInventoryMonitor() { public void appleInventoryMonitor() {
if (!Boolean.TRUE.equals(appleInventoryMonitorSwitch)) { if (!Boolean.TRUE.equals(appleInventoryMonitorSwitch)) {
log.info(">>>>>>>>>>apple inventory monitor switch closed!<<<<<<<<<<"); log.info(">>>>>>>>>>apple inventory monitor switch closed!<<<<<<<<<<");