14 lines
577 B
TypeScript
14 lines
577 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { ScheduleModule } from '@nestjs/schedule';
|
|
import { CheckStars } from '@gitroom/cron/tasks/check.stars';
|
|
import { DatabaseModule } from '@gitroom/nestjs-libraries/database/prisma/database.module';
|
|
import { SyncTrending } from '@gitroom/cron/tasks/sync.trending';
|
|
import { BullMqModule } from '@gitroom/nestjs-libraries/bull-mq-transport-new/bull.mq.module';
|
|
|
|
@Module({
|
|
imports: [DatabaseModule, ScheduleModule.forRoot(), BullMqModule],
|
|
controllers: [],
|
|
providers: [CheckStars, SyncTrending],
|
|
})
|
|
export class CronModule {}
|