Skip to content

Commit ab3e1ba

Browse files
authored
Add afternoon schedule to EHR Data Validation notification (#1570)
* Add afternoon time and adjust descriptions * Finalize afternoon time and adjust descriptions
1 parent 4a6c71e commit ab3e1ba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

onprc_ehr/src/org/labkey/onprc_ehr/notification/DataValidationNotification.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,19 @@ public String getEmailSubject(Container c)
4848
@Override
4949
public String getCronString()
5050
{
51-
return "0 25 6 * * ?";
51+
return "0 50 6/15 * * ?";
5252
}
5353

5454
@Override
5555
public String getScheduleDescription()
5656
{
57-
return "every day at 6:25AM";
57+
return "every day at 6:50AM and 3:50PM";
5858
}
5959

6060
@Override
6161
public String getDescription()
6262
{
63-
return "The report is designed to identify potential problems with the EHR data. It is similar to Colony Alerts, except it is limited to alerts that indicate a true problem in the data itself.";
63+
return "The report identifies potential problems with the EHR data. Although similar to Colony Alerts, it is limited to problems in the data itself.";
6464
}
6565

6666
@Override
@@ -119,7 +119,7 @@ public String getMessageBodyHTML(Container c, User u)
119119
//only send if there are alerts
120120
if (!msg.isEmpty())
121121
{
122-
msg.insert(0, "This email contains a series of automatic alerts designed to identify problems in the EHR data. It was run on: " + getDateFormat(c).format(now) + " at " + _timeFormat.format(now) + ".<p>");
122+
msg.insert(0, "This email contains a series of automatic alerts identifying problems in the EHR data. It was run on: " + getDateFormat(c).format(now) + " at " + _timeFormat.format(now) + ".<p>");
123123
}
124124

125125
return msg.toString();

0 commit comments

Comments
 (0)