Skip to content

Commit

Permalink
remove date in pipe, ruining errors pipe, #229
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Jul 13, 2021
1 parent a6763de commit af8e896
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/daily-grunt-work.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down Expand Up @@ -103,4 +103,4 @@ [email protected]
##########################################################################################################
# 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})

0 comments on commit af8e896

Please sign in to comment.