diff --git a/postman/src/sender.rs b/postman/src/sender.rs index 3f300fa..ee44aa0 100644 --- a/postman/src/sender.rs +++ b/postman/src/sender.rs @@ -309,7 +309,8 @@ WHERE FROM reminders WHERE - reminders.`utc_time` <= NOW() + reminders.`utc_time` <= NOW() AND + `status` = 'pending' AND AND ( reminders.`interval_seconds` IS NOT NULL OR reminders.`interval_months` IS NOT NULL