Please sign in to comment.
Add Openshift cron job to call send-reminders
Also update the README accordingly. Also, change the comment in model.py to reflect the fact that the email field *is* used by send-reminders. This ought to have been done when send-reminders was written... oops.
- Loading branch information...
Showing with 37 additions and 10 deletions.
|@@ -0,0 +1,17 @@|
|# Openshift's "Cron" cartidge is substantially lighter on features than standard|
|# cron implementations; you can only specify daily, weekly, hourly, etc. You|
|# can't specify what time of day or what day of the week. So instead, we test on|
|# startup if it's the right day, and if not exit immediately.|
|# Setting LC_ALL is important, since otherwise the date command might return a|
|# name for the day of the week in a different language, which would break the|
|if [ $(date +%A) != Friday ]; then|