File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
java/org/umc/travlocksserver/infra Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ public class AiPromptProvider {
4646
4747 [AI 자유 태그(free)]
4848 - 생성 개수: 정확히 2개 (초과/미만 불가)
49+ - 생성 기준: 입력으로 들어오는 정보들을 토대로 관련된 태그를 생성
4950 - 형식: 2~8글자, 명사 또는 짧은 형용사 (띄어쓰기없이)
5051 - 금지:
5152 1) 주관적/개인적 표현
Original file line number Diff line number Diff line change 33import lombok .RequiredArgsConstructor ;
44import lombok .extern .slf4j .Slf4j ;
55import org .springframework .beans .factory .annotation .Value ;
6+ import org .springframework .scheduling .annotation .Scheduled ;
67import org .springframework .stereotype .Component ;
78import org .umc .travlocksserver .domain .template .repository .TemplateRepository ;
89import org .umc .travlocksserver .domain .template .service .command .TemplateTagCommandService ;
@@ -29,7 +30,7 @@ public class TemplateTagScheduler {
2930 private final TemplateRepository templateRepository ;
3031 private final TemplateTagCommandService templateTagCommandService ;
3132
32- // @Scheduled(cron = "${tag.cron}", zone = "${tag.zone}")
33+ @ Scheduled (cron = "${tag.cron}" , zone = "${tag.zone}" )
3334 public void run () {
3435 LocalDateTime now = LocalDateTime .now (ZoneId .of (zoneId ));
3536 LocalDateTime to = now .minusMinutes (graceMinutes );
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ suggestion:
8686 max-duplicate-category : 2
8787
8888tag :
89- cron : " 0 28 * * * *"
89+ cron : " 0 0 * * * *"
9090 grace-minutes : 15
9191 lookback-minutes : 75
9292
You can’t perform that action at this time.
0 commit comments