From 24f61546951957e0befd99e4bc9d7ab43f731818 Mon Sep 17 00:00:00 2001 From: Mauro Mura Date: Mon, 6 May 2024 12:45:12 +0200 Subject: [PATCH] Increased mail interval fom 1 day to 1 month --- lib/Jobs/SendNotificationsJob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Jobs/SendNotificationsJob.php b/lib/Jobs/SendNotificationsJob.php index 1362d19..4b298af 100644 --- a/lib/Jobs/SendNotificationsJob.php +++ b/lib/Jobs/SendNotificationsJob.php @@ -78,7 +78,7 @@ public function __construct( protected function run($argument): void { $limit = (int)$this->config->getAppValue($this->appName, 'status-email-max-mail-sent', '1000'); - $trackedNotifications = $this->service->findAllOlderThan(new \DateTime("-1 day"), $limit); + $trackedNotifications = $this->service->findAllOlderThan(new \DateTime("-1 month"), $limit); // for debugging // $trackedNotifications = $this->service->findAllOlderThan(new \DateTime('now'), $limit);