Skip to content

Commit

Permalink
Merge pull request #91 from co-niverse/refactor/pushNotification
Browse files Browse the repository at this point in the history
notification 생성 메서드 보류
  • Loading branch information
13wjdgk authored Dec 6, 2023
2 parents e08eb2e + a313f48 commit 78a8d2a
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 78a8d2a

Please sign in to comment.