Skip to content

Commit

Permalink
Merge pull request #58 from 7th-UMC/feature/53
Browse files Browse the repository at this point in the history
Refactor : 스케줄러 코드 수정
  • Loading branch information
hyeonda02 authored Aug 31, 2024
2 parents 85a073b + 29be398 commit 17e965f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class SchedulerServiceImpl implements SchedulerService{
private final PhotoRepository photoRepository;
private final UuidRepository uuidRepository;
private final AmazonS3Manager s3Manager;
@Scheduled(cron = "${cloud.aws.cron}")
@Scheduled(cron = "0 0/1 * * * ?", zone = "Asia/Seoul")
@Transactional
public void deletePhoto() {
log.info("Scheduled task started for deleting photos");
Expand Down

0 comments on commit 17e965f

Please sign in to comment.