Skip to content

Commit

Permalink
refactor : notification 생성 메서드 보류
Browse files Browse the repository at this point in the history
  • Loading branch information
13wjdgk committed Dec 2, 2023
1 parent e08eb2e commit a313f48
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import org.springframework.batch.core.Job;
import org.springframework.batch.core.launch.JobLauncher;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

import net.javacrumbs.shedlock.spring.annotation.EnableSchedulerLock;
Expand Down Expand Up @@ -36,8 +35,9 @@ public class SchedulerService {
*
* @author EVE
* @since 1.1.0
* @deprecated 서버가 이전될 때까지 사용하지 않는다
*/
@Scheduled(cron = "0 0 18 * * *", zone = "Asia/Seoul")

@SchedulerLock(name = "SchedulerService_makeNotification", lockAtLeastFor = "PT60S", lockAtMostFor = "PT70S")
public void makeNotification() {
List<FcmMessage> fcmMessage = notificationService.makeAccessFcmMessage();
Expand Down

0 comments on commit a313f48

Please sign in to comment.