Skip to content

Commit

Permalink
ci: run statistic
Browse files Browse the repository at this point in the history
  • Loading branch information
yxuo committed Aug 20, 2024
1 parent d4029b1 commit a7e54ee
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/cron-jobs/cron-jobs.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export class CronJobsService {

async onModuleLoad() {
const THIS_CLASS_WITH_METHOD = 'CronJobsService.onModuleLoad';
await this.sendStatusReport();
this.jobsConfig.push(
{
name: CrobJobsEnum.bulkSendInvites,
Expand All @@ -89,14 +90,6 @@ export class CronJobsService {
onTick: () => this.sendStatusReport(),
},
},
/** TODO: Temporário, remover em seguida */
{
name: CrobJobsEnum.sendStatusReportTemp,
cronJobParameters: {
cronTime: '10 14 20 8 *', // At 14:10 UTC (11:10 BRT, GMT-3) on day-of-month 20 in August.
onTick: () => this.sendStatusReport(),
},
},
{
name: CrobJobsEnum.bulkResendInvites,
cronJobParameters: {
Expand Down

0 comments on commit a7e54ee

Please sign in to comment.