From: Bill Erickson Date: Fri, 16 Jan 2015 17:33:19 +0000 (-0500) Subject: JBAS-258 circ purge log max date X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=08503e355be533f7cbe6a7265ccb29f4cf4a0667;p=working%2FEvergreen.git JBAS-258 circ purge log max date Signed-off-by: Bill Erickson --- diff --git a/KCLS/utility-scripts/purge_circs/purge_circulations.sh b/KCLS/utility-scripts/purge_circs/purge_circulations.sh index 729795605f..13e1306c81 100644 --- a/KCLS/utility-scripts/purge_circs/purge_circulations.sh +++ b/KCLS/utility-scripts/purge_circs/purge_circulations.sh @@ -39,6 +39,7 @@ fi set -e echo "DATE_START=$DATE_START" echo "DURATION='$MAX_DURATION_MINUTES'" +echo "MAX_DATE=$MAX_DATE" EPOCH_START=$(date '+%s') #When this script started, measured as seconds since the Unix epoch EPOCH_STOP=$(($EPOCH_START + ($MAX_DURATION_MINUTES * 60) )) #Do not call psql again after this moment echo "This script will stop after $(date --date=@$EPOCH_STOP)."