From 740be6c20b2bdb78bb0e915809cd3ff2b213b49f Mon Sep 17 00:00:00 2001
From: SciPost tech support <techsupport@scipost.org>
Date: Mon, 21 May 2018 03:56:45 +0000
Subject: [PATCH] Update cronjobs: add weekdays

---
 cronjob_production_daily.sh    | 1 -
 cronjob_production_weekdays.sh | 8 ++++++++
 2 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100755 cronjob_production_weekdays.sh

diff --git a/cronjob_production_daily.sh b/cronjob_production_daily.sh
index 4a905cddf..7de15c433 100755
--- a/cronjob_production_daily.sh
+++ b/cronjob_production_daily.sh
@@ -6,4 +6,3 @@ cd /home/scipost/webapps/scipost/scipost_v1
 source venv/bin/activate
 
 python3 manage.py remind_fellows_to_submit_report
-python3 manage.py send_refereeing_reminders
diff --git a/cronjob_production_weekdays.sh b/cronjob_production_weekdays.sh
new file mode 100755
index 000000000..791e66344
--- /dev/null
+++ b/cronjob_production_weekdays.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+# Daily cronjobs for production area
+
+cd /home/scipost/webapps/scipost/scipost_v1
+source venv/bin/activate
+
+python3 manage.py send_refereeing_reminders
-- 
GitLab