Skip to content

Commit

Permalink
feat: 6시간 단위 스케줄링으로 조정
Browse files Browse the repository at this point in the history
  • Loading branch information
songyi00 committed Nov 2, 2024
1 parent 452c042 commit 3f7e23b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.nexters.goalpanzi.schedule;

import com.nexters.goalpanzi.application.mission.MissionMemberService;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.time.StopWatch;
Expand All @@ -23,7 +22,7 @@ public class MissionStatusJob extends AbstractJob<CronTrigger> implements Custom
@Override
protected ScheduleBuilder<CronTrigger> getScheduleBuilder() {
// 00:00, 06:00, 12:00, 18:00 마다 실행
return CronScheduleBuilder.cronSchedule("0 45 16 * * ?")
return CronScheduleBuilder.cronSchedule("0 0 */6 * * ?")
.withMisfireHandlingInstructionDoNothing();
}

Expand Down

0 comments on commit 3f7e23b

Please sign in to comment.