From a5aaeb124f8c597fd2c47c8adb27640baefe3a01 Mon Sep 17 00:00:00 2001 From: G Date: Sat, 20 Jul 2024 12:40:21 +0330 Subject: [PATCH] schedule changes --- src/features/schedule/schedule.service.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/features/schedule/schedule.service.ts b/src/features/schedule/schedule.service.ts index c3bab8f90..0d45c645b 100644 --- a/src/features/schedule/schedule.service.ts +++ b/src/features/schedule/schedule.service.ts @@ -128,8 +128,8 @@ export class ScheduleService { } // ERROR [Scheduler] ServerError: Can't send mail - all recipients were rejected: 550 No such user here - @Cron('00 17 * * Sun', { - name: 'MonthlyCampaigns try At 17:00 on Sunday.', // we try every week and only send to those who did not receive (because their child have no needs, etc.) + @Cron('00 10 * * Wed', { + name: 'MonthlyCampaigns try At 10:00 on Wednsday.', // we try every week and only send to those who did not receive (because their child have no needs, etc.) timeZone: 'Asia/Tehran', }) async handleMonthlyCampaignsCron() { @@ -160,8 +160,8 @@ export class ScheduleService { } } - @Cron('30 9 * * Wed', { - name: 'Reminders to announce arrivals At 09:30 on Wednesday.', + @Cron('50 12 * * Sat', { + name: 'Reminders to announce arrivals At 12:50 on Sat.', timeZone: 'Asia/Tehran', }) async handleAnnounceArrivalCron() {