From af8e896ef494afbc55ea5b64b8c662f0cabd08a6 Mon Sep 17 00:00:00 2001 From: zepumph Date: Tue, 13 Jul 2021 10:33:02 -0400 Subject: [PATCH] remove date in pipe, ruining errors pipe, https://github.com/phetsims/perennial/issues/229 --- bin/daily-grunt-work.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/daily-grunt-work.sh b/bin/daily-grunt-work.sh index a73b2379..9b0a399f 100755 --- a/bin/daily-grunt-work.sh +++ b/bin/daily-grunt-work.sh @@ -6,7 +6,7 @@ # # # The cron job on bayes: -# 1 3 * * * cd /data/share/phet/automated-grunt-work/perennial; git pull; ./bin/daily-grunt-work.sh > ~/daily-grunt-work.log 2> ~/daily-grunt-work-error.log +# 1 3 * * * cd /data/share/phet/automated-grunt-work/perennial; git pull; ./bin/daily-grunt-work.sh > ~/daily-grunt-work.log # # Author: Michael Kauzmann # @@ -103,4 +103,4 @@ NOTIFICATION_EMAILS=michael.kauzmann@colorado.edu ########################################################################################################## # No grunt work below this point. # Capture errors and email for them. -} 2> >(date | mailx -s "[Daily Grunt Work] Error during process" ${NOTIFICATION_EMAILS}) +} 2> >(mailx -s "[Daily Grunt Work] Error during process" ${NOTIFICATION_EMAILS})