nest js crons intialization

The solution for “nest js crons intialization” can be found here. The following code will assist you in solving the problem.

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

@Module({
imports: [
ScheduleModule.forRoot()
],
})
export class AppModule {}

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in