Skip to content

Commit 69ee957

Browse files
authored
Merge pull request #62 from codeit-part3-team2/deploy
feat : 뉴스 백업 스케쥴러 cron으로 수정
2 parents 405151e + 5d81130 commit 69ee957

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

monew-batch/src/main/java/com/monew/monew_batch/article/scheduler/AricleBackupScheduler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ public class AricleBackupScheduler {
1919

2020
private final AricleBackupService aricleBackupService;
2121

22-
// @Scheduled(cron = "0 20 4 * * *", zone = "Asia/Seoul")
23-
@Scheduled(fixedRate = 600000) // 테스트용
22+
@Scheduled(cron = "0 20 4 * * *", zone = "Asia/Seoul")
23+
// @Scheduled(fixedRate = 600000) // 테스트용
2424
public void backupNews() {
2525
log.info("🗄 뉴스 백업 시작");
2626
aricleBackupService.backupAllArticles();

0 commit comments

Comments
 (0)