We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 735372d commit 1acba24Copy full SHA for 1acba24
tasks/scoreUpdater.js
@@ -1,8 +1,8 @@
1
const cron = require("node-cron");
2
// 실제 서버 주소로 변경!
3
-const BASE_URL = `http://localhost:3001/api/rank`;
+const BASE_URL = `/api/rank`;
4
5
-cron.schedule("10 8 * * *", async () => {
+cron.schedule("0 7 * * *", async () => {
6
try {
7
// 1. 하루치 점수 계산
8
console.log("[CRON] Start day calculation");
0 commit comments