Skip to content

Commit 1acba24

Browse files
authored
Update scoreUpdater.js
1 parent 735372d commit 1acba24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/scoreUpdater.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const cron = require("node-cron");
22
// 실제 서버 주소로 변경!
3-
const BASE_URL = `http://localhost:3001/api/rank`;
3+
const BASE_URL = `/api/rank`;
44

5-
cron.schedule("10 8 * * *", async () => {
5+
cron.schedule("0 7 * * *", async () => {
66
try {
77
// 1. 하루치 점수 계산
88
console.log("[CRON] Start day calculation");

0 commit comments

Comments
 (0)