diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/RoomRedPacketExpireTask.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/RoomRedPacketExpireTask.java index d70551e9..897bee64 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/RoomRedPacketExpireTask.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/RoomRedPacketExpireTask.java @@ -35,7 +35,7 @@ public class RoomRedPacketExpireTask { /** * 每分钟执行一次 */ - @Scheduled(cron = "0 * * * * ?") + @Scheduled(cron = "0/30 * * * * ?") public void refundExpiredPackets() { try { LocalDateTime now = LocalDateTime.now();