From 107062acacfdea8933827bb114475bad384e10c3 Mon Sep 17 00:00:00 2001 From: Shane Tomlinson Date: Fri, 8 Apr 2016 15:54:06 +0100 Subject: [PATCH] chore(docs): Add more docs to the reset-send-batch script. --- scripts/reset-send-batch.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/reset-send-batch.sh b/scripts/reset-send-batch.sh index b6d17efd..75400c09 100755 --- a/scripts/reset-send-batch.sh +++ b/scripts/reset-send-batch.sh @@ -30,7 +30,9 @@ echo ${BATCH} node must-reset.js -i ${BATCH} ### TODO We need to know which template to send! It'll either be "suspicious_location" OR "password_reset_required" -### TODO When sending for real for real, the --send option needs to be added +### TODO If we need more delay in between the batches the bulk-mailer itself sends, add a `-d to the below line. +### If instead of sending 10 emails at a time, the mailer should send 5 (or some other number), -b +### TODO Finally, when sending for real for real, the --send option needs to be added. node bulk-mailer.js -i ${BATCH} -t suspicious_location -e ${ERRORS_OUTPUT} -u ${UNSENT_OUTPUT} --real