File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -54,9 +54,9 @@ export class RotationsService {
54
54
) { }
55
55
56
56
/*
57
- * 매일 0시 0분에 내일 사서에게 메세지를 전송하는 cron job
57
+ * 매일 9시 42분에 내일 사서에게 메세지를 전송하는 cron job
58
58
*/
59
- @Cron ( '0 0 * * *' , {
59
+ @Cron ( '42 9 * * *' , {
60
60
name : 'sendMessageTomorrowLibrarian' ,
61
61
timeZone : 'Asia/Seoul' ,
62
62
} )
@@ -195,7 +195,6 @@ export class RotationsService {
195
195
timeZone : 'Asia/Seoul' ,
196
196
} )
197
197
async setRotation ( ) : Promise < void > {
198
- // if (getFourthWeekdaysOfMonth().indexOf(getTodayDay()) > 0) {
199
198
this . logger . log ( 'Setting rotation...' ) ;
200
199
201
200
const { year, month } = getNextYearAndMonth ( ) ;
@@ -281,9 +280,6 @@ export class RotationsService {
281
280
}
282
281
283
282
this . logger . log ( 'Successfully set rotation!' ) ;
284
- // } else {
285
- // // skipped...
286
- // }
287
283
}
288
284
289
285
/*
You can’t perform that action at this time.
0 commit comments