Skip to content

Commit

Permalink
add :: Goal 스케줄러 Logging 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Umjiseung committed Jun 11, 2024
1 parent 0ed9b9f commit c3dd03b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,19 @@
import com.mindway.server.v2.domain.goal.service.GoalsDeleteService;
import com.mindway.server.v2.global.annotation.ServiceWithTransaction;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;

@ServiceWithTransaction
@RequiredArgsConstructor
@Slf4j
public class GoalsDeleteServiceImpl implements GoalsDeleteService {

private final GoalRepository goalRepository;

public void execute() {
log.info("===================목표 초기화 스케줄러 시작===================");
goalRepository.deleteAll();
log.info("===================목표 초기화 스케줄러 끝===================");
}

}

0 comments on commit c3dd03b

Please sign in to comment.