Skip to content

Commit

Permalink
Merge pull request #197 from Modagbul/hotfix
Browse files Browse the repository at this point in the history
fix : 개발서버에서 스케쥴링 동작 위한 주석 처리
  • Loading branch information
seungueonn authored Jan 9, 2024
2 parents f7c5be0 + 9d13d5c commit 49c6fb9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
@EnableAsync
@EnableScheduling // 스케줄링 활성화
@RequiredArgsConstructor
@Profile("prod")
//@Profile("prod")
public class MissionStateScheduleUseCase {

private final MissionStateUseCase missionStateUseCase;
Expand Down Expand Up @@ -63,7 +63,7 @@ public void sundayRepeatMissionRoutine() {
* 해당 시간 미션 마감
* 한시간 마다 실행
*/
@Scheduled(cron = "0 1 * * * *")
@Scheduled(cron = "0 0/10 * * * *")
public void singleMissionEndRoutine() {

List<Mission> missionByDueTo = missionQueryService.findMissionByDueTo();
Expand Down

0 comments on commit 49c6fb9

Please sign in to comment.