Skip to content

Commit

Permalink
style: 주석 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
kmg159753 committed Jul 26, 2023
1 parent c886fc9 commit 746b645
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/com/example/newnique/global/Scheduler.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ public String getLink() {
}
}

@PostConstruct
public void init() throws InterruptedException {
updateNews(); // 프로그램 시작 시에 한 번 실행(테스트 용도)
}
// @PostConstruct
// public void init() throws InterruptedException {
// updateNews(); // 프로그램 시작 시에 한 번 실행(테스트 용도)
// }

@Scheduled(cron = "0 0 3 * * ?")
public void updateNews() throws InterruptedException {
Expand Down

0 comments on commit 746b645

Please sign in to comment.