Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

nest js crons intialization

import { Module } from '@nestjs/common';
import { ScheduleModule } from '@nestjs/schedule';

@Module({
  imports: [
    ScheduleModule.forRoot()
  ],
})
export class AppModule {}
Source by docs.nestjs.com #
 
PREVIOUS NEXT
Tagged: #nest #js #crons #intialization
ADD COMMENT
Topic
Name
6+8 =