Skip to content

Commit

Permalink
feat: remove jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
yxuo committed Mar 7, 2024
1 parent 69a3ad7 commit d5d68a4
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions src/cron-jobs/cron-jobs.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,33 +112,33 @@ export class CronJobsService implements OnModuleInit {
},
},
},
{
name: CrobJobsEnum.updateTransacaoFromJae,
cronJobParameters: {
cronTime: '* * * * *',
onTick: async () => {
await this.updateTransacaoFromJae();
},
},
},
{
name: CrobJobsEnum.updateRemessa,
cronJobParameters: {
cronTime: '45 14 * * *',
onTick: async () => {
await this.updateRemessa();
},
},
},
{
name: CrobJobsEnum.updateRetorno,
cronJobParameters: {
cronTime: '45 14 * * *', // 14:45 GMT = 11:45BRT (GMT-3)
onTick: async () => {
await this.updateRetorno();
},
},
}
// {
// name: CrobJobsEnum.updateTransacaoFromJae,
// cronJobParameters: {
// cronTime: '* * * * *',
// onTick: async () => {
// await this.updateTransacaoFromJae();
// },
// },
// },
// {
// name: CrobJobsEnum.updateRemessa,
// cronJobParameters: {
// cronTime: '45 14 * * *',
// onTick: async () => {
// await this.updateRemessa();
// },
// },
// },
// {
// name: CrobJobsEnum.updateRetorno,
// cronJobParameters: {
// cronTime: '45 14 * * *', // 14:45 GMT = 11:45BRT (GMT-3)
// onTick: async () => {
// await this.updateRetorno();
// },
// },
// }

);

Expand Down

0 comments on commit d5d68a4

Please sign in to comment.