Skip to content

Commit

Permalink
schedule update
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan-g committed May 26, 2024
1 parent d7382d0 commit f4a5efe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/schedule/schedule.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ export class ScheduleService {
}
}
// ERROR [Scheduler] ServerError: Can't send mail - all recipients were rejected: 550 <[email protected]> No such user here
@Cron(' 00 20 17 * * Sun', {
name: 'MonthlyCampaigns try At 17:20 on Sunday.', // we try every week and only send to those who did not receive (because their child have no needs, etc.)
@Cron(' 00 25 17 * * Sun', {
name: 'MonthlyCampaigns try At 17:25 on Sunday.', // we try every week and only send to those who did not receive (because their child have no needs, etc.)
timeZone: 'Asia/Tehran',
})
async handleSummaryMailCron() {
Expand Down

0 comments on commit f4a5efe

Please sign in to comment.