diff --git a/src/main/java/com/hanaro/hanafun/common/scheduler/AutoTransferScheduler.java b/src/main/java/com/hanaro/hanafun/common/scheduler/AutoTransferScheduler.java index 9d178b3..0f43897 100644 --- a/src/main/java/com/hanaro/hanafun/common/scheduler/AutoTransferScheduler.java +++ b/src/main/java/com/hanaro/hanafun/common/scheduler/AutoTransferScheduler.java @@ -2,6 +2,8 @@ import com.hanaro.hanafun.transaction.service.impl.TransactionServiceImpl; import lombok.RequiredArgsConstructor; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; @@ -10,8 +12,11 @@ public class AutoTransferScheduler { private final TransactionServiceImpl transactionService; - @Scheduled(cron = "0 0 0 * * ?") //매일 0시 + private static final Logger logger = LoggerFactory.getLogger(AutoTransferScheduler.class); + + @Scheduled(cron = "0 15 13 * * ?") //매일 0시 public void runAutoTransfer(){ + logger.info("auto transfer scheduling test started!!!!!!!!!!!!!!"); transactionService.autoTransfer(); } }