nido js crons
$ npm install --save @nestjs/schedule
$ npm install --save-dev @types/cron
Aman Singh
$ npm install --save @nestjs/schedule
$ npm install --save-dev @types/cron
import { Module } from '@nestjs/common';
import { ScheduleModule } from '@nestjs/schedule';
@Module({
imports: [
ScheduleModule.forRoot()
],
})
export class AppModule {}