From 0cb7c087fc06a80377d0919f2083dcad6d69788a Mon Sep 17 00:00:00 2001 From: kyuuseiryuu Date: Wed, 25 Mar 2026 01:06:36 +0900 Subject: [PATCH] fix(schedules): correct event watch schedule end time to 22:00 The scheduled job for watching events was previously set to run until hour 23. This changes the `nodeSchedule.Range` end hour from 23 to 22 to ensure the job stops execution correctly before the end of the day. This is a bug fix to align the actual execution window with the intended operating hours. No breaking changes. --- src/schedules/EventWatchSchedule.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schedules/EventWatchSchedule.ts b/src/schedules/EventWatchSchedule.ts index 4d337a8..9c9a7b1 100644 --- a/src/schedules/EventWatchSchedule.ts +++ b/src/schedules/EventWatchSchedule.ts @@ -72,7 +72,7 @@ export class EventWatchSchedule implements Schedule { start() { const job = nodeSchedule.scheduleJob('event-watch', { minute: [0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55], - hour: new nodeSchedule.Range(7, 23), + hour: new nodeSchedule.Range(7, 22), }, () => this.watchEvents()); this.#job = job; console.debug('Start schedule: %s, next run at %s', job.name, dayjs.tz(job.nextInvocation(), 'Asia/Tokyo').format('YYYY-MM-DD HH:mm:ss'));