From 7b55b025c40b92f8e1fc143f86d0436d0bb2689c Mon Sep 17 00:00:00 2001 From: Lakshmi Kolli <69940873+kollil@users.noreply.github.com> Date: Thu, 22 Aug 2024 12:32:49 -0700 Subject: [PATCH] Changed the alert time. (#1102) --- .../labkey/onprc_ehr/notification/AdminNotifications.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/onprc_ehr/src/org/labkey/onprc_ehr/notification/AdminNotifications.java b/onprc_ehr/src/org/labkey/onprc_ehr/notification/AdminNotifications.java index 9f7419987..3de6e8bb3 100644 --- a/onprc_ehr/src/org/labkey/onprc_ehr/notification/AdminNotifications.java +++ b/onprc_ehr/src/org/labkey/onprc_ehr/notification/AdminNotifications.java @@ -79,13 +79,13 @@ public String getEmailSubject(Container c) @Override public String getCronString() { - return "0 0 16 * * ?"; + return "0 0 6 * * ?"; } @Override public String getScheduleDescription() { - return "every day at 4:00PM"; + return "every day at 6:00AM"; } @Override @@ -119,7 +119,7 @@ private void MedsEndDateAlert(Container c, User u, final StringBuilder msg, fina TableSelector ts = new TableSelector(ti, null, new Sort("date")); long count = ts.getRowCount(); if (count == 0) { - msg.append("There are no other meds except E-85760 (Medroxyprogesterone injectable 150mg/ml) and E-Y7735 (Diet - Weekly Multivitamin) with missing end dates!
"); + msg.append("There are no meds ordered except E-85760 (Medroxyprogesterone injectable 150mg/ml) and E-Y7735 (Diet - Weekly Multivitamin) with missing end dates!
"); } else if (count > 0) {