We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 714c9af commit 1c0350fCopy full SHA for 1c0350f
packages/backend/src/modules/sms/services/senders/cron-sms-id-mon-domifa.service.ts
@@ -14,7 +14,7 @@ export class CronSmsMonDomiFaService {
14
private readonly messageSmsSenderService: MessageSmsSenderService
15
) {}
16
17
- @Cron(CronExpression.EVERY_10_MINUTES, {
+ @Cron(CronExpression.EVERY_5_MINUTES, {
18
timeZone: "Europe/Paris",
19
disabled: !isCronEnabled() || !domifaConfig().sms.enabled,
20
})
@@ -25,7 +25,7 @@ export class CronSmsMonDomiFaService {
25
const now = new Date();
26
const currentHour = now.getHours();
27
28
- if (currentHour >= 20) {
+ if (currentHour >= 23) {
29
appLogger.info(
30
`[SMS BATCH] Hors plage horaire (${currentHour}h) - Arrêt de l'envoi`
31
);
0 commit comments