Skip to content

Commit

Permalink
Add: resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TaehyeonPark committed Feb 4, 2025
1 parent 3bdf0a7 commit 4a59be0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 443 deletions.
369 changes: 0 additions & 369 deletions src/routes/docs/rooms.md

This file was deleted.

3 changes: 2 additions & 1 deletion src/schedules/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ import notifyBeforeDepart from "./notifyBeforeDepart";
import notifyAfterArrival from "./notifyAfterArrival";
import updateMajorTaxiFare from "./updateMajorTaxiFare";
import updateMinorTaxiFare from "./updateMinorTaxiFare";
import autoProcessingRoom from "./autoProcessingRoom";

const registerSchedules = (app: Express) => {
cron.schedule("*/5 * * * *", notifyBeforeDepart(app));
cron.schedule("*/10 * * * *", notifyAfterArrival(app));
cron.schedule("*/15 * * * *", require("./autoProcessingRoom")(app));
cron.schedule("1-59/10 * * * *", autoProcessingRoom(app));

if (naverMap.apiId && naverMap.apiKey) {
cron.schedule("0,30 * * * * ", updateMajorTaxiFare(app));
Expand Down
Loading

0 comments on commit 4a59be0

Please sign in to comment.