From 840bf6ffe2b2db32428eefbd942df057e24a17a6 Mon Sep 17 00:00:00 2001 From: publdaze Date: Mon, 23 Oct 2023 17:44:47 +0900 Subject: [PATCH] =?UTF-8?q?chore=20:=20=EC=95=8C=EB=A6=BC=20=EC=A3=BC?= =?UTF-8?q?=EC=84=9D=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/buildings/floors/cans/cans.service.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/buildings/floors/cans/cans.service.ts b/src/buildings/floors/cans/cans.service.ts index b15cc64..6ab122c 100644 --- a/src/buildings/floors/cans/cans.service.ts +++ b/src/buildings/floors/cans/cans.service.ts @@ -1,8 +1,6 @@ import { Injectable } from '@nestjs/common'; import { BuildingsRepository } from 'src/buildings/buildings.repository'; import { UsersRepository } from '../../../users/users.repository'; -import { Cron, CronExpression } from '@nestjs/schedule'; -import { User } from '../../../users/entities/user.entity'; @Injectable() export class CansService { @@ -50,7 +48,7 @@ export class CansService { }); } - @Cron(CronExpression.EVERY_5_SECONDS) + /* @Cron(CronExpression.EVERY_5_SECONDS) handleCron() { console.log('Called when the current second is 5'); this.userRepository @@ -162,5 +160,5 @@ export class CansService { }) .then(() => console.log('send!')) .catch((err) => console.log(err)); - } + } */ }