modify apple inventory monitor schedule

This commit is contained in:
JiyangTang 2023-10-13 18:16:51 +08:00
parent 36067dcc95
commit d47781b91a

View File

@ -56,7 +56,7 @@ public class AppleInventorySchedule {
@Resource @Resource
private DingTalkMsgPushUtils dingTalkMsgPushUtils; private DingTalkMsgPushUtils dingTalkMsgPushUtils;
@Scheduled(cron = "0 0/5 * * * ? ") @Scheduled(cron = "0 0/8 * * * ? ")
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!<<<<<<<<<<");