Skip to content

Commit

Permalink
Fix: 공지사항 크롤링하는 시간 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
pp449 committed Sep 21, 2023
1 parent e07046c commit 2c0a2fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/cronNoticeCrawling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const pushToUsers = async (majors: string[]) => {
notificationToSlack(pushedUserCount);
};

cron.schedule('0 3 * * *', async () => {
cron.schedule('0 0-9 * * *', async () => {
const majors = await saveNoticeToDB();
await saveNoticeToDB();
await saveSchoolNoticeToDB();
Expand Down

0 comments on commit 2c0a2fa

Please sign in to comment.