From dd35b3cf0fbfb7280b126c094fa7b64750b15c7b Mon Sep 17 00:00:00 2001 From: Karel van Klink <karel.vanklink@geant.org> Date: Tue, 3 Dec 2024 12:49:44 +0100 Subject: [PATCH] bugfix: send email notification once instead of every minute of the hour --- gso/schedules/send_email_notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gso/schedules/send_email_notifications.py b/gso/schedules/send_email_notifications.py index 5aee26a6..fb56b158 100644 --- a/gso/schedules/send_email_notifications.py +++ b/gso/schedules/send_email_notifications.py @@ -7,7 +7,7 @@ from gso.worker import celery @celery.task -@scheduler(CronScheduleConfig(name="Send email notifications", hour="4")) +@scheduler(CronScheduleConfig(name="Send email notifications", hour="4", minute="0")) def send_email_notifications() -> None: """Run this task every night at 2:30 AM.""" start_process("task_send_email_notifications") -- GitLab