Skip to content

Commit f4a8a6d

Browse files
committed
hotfix: change duplicated cron name
1 parent 1959864 commit f4a8a6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/rotation/rotations.service.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export class RotationsService {
123123
* 매월 26일, 집현전 슬랙 채널에 메세지를 보내는 cron job
124124
*/
125125
@Cron('42 15 26 * *', {
126-
name: 'sendMessageRotationDeadlineFirst',
126+
name: 'sendMessageRotationDeadlineLast',
127127
timeZone: 'Asia/Seoul',
128128
})
129129
async sendMessageRotationDeadlineLast(): Promise<void> {
@@ -142,7 +142,7 @@ export class RotationsService {
142142
* 매월 27일 사서 로테이션 설정이 완료된 후, 집현전 슬랙 채널에 메세지를 보내는 cron job
143143
*/
144144
@Cron('42 15 27 * *', {
145-
name: 'sendMessageRotationDeadlineFirst',
145+
name: 'sendMessageRotationFinished',
146146
timeZone: 'Asia/Seoul',
147147
})
148148
async sendMessageRotationFinished(): Promise<void> {

0 commit comments

Comments
 (0)