Skip to content

Commit

Permalink
[fix]: conferenceTask
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyeon330 committed Sep 6, 2023
1 parent 8a11215 commit ee06d56
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
import java.time.LocalDate;
import java.util.List;

@Component
//@Component
public class ConferenceScheduleTask {

ConferenceRoomService conferenceRoomService;
User user;

@Scheduled(cron = "0 0 * * MON")
// @Scheduled(cron = "0 0 * * MON")
public void deleteConferenceRooms() {
conferenceRoomService.deleteAllByDateBeforeOneWeek();
List<ConferenceRoom> conferenceRooms = user.getConferenceRooms();
Expand Down

0 comments on commit ee06d56

Please sign in to comment.