community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1727801 - /comdev/projects.apache.org/scripts/cronjobs/python3logger.sh
Date Sun, 31 Jan 2016 12:29:33 GMT
Author: sebb
Date: Sun Jan 31 12:29:33 2016
New Revision: 1727801

URL: http://svn.apache.org/viewvc?rev=1727801&view=rev
Log:
Show the PID and START time (useful in case jobs overlap)

Modified:
    comdev/projects.apache.org/scripts/cronjobs/python3logger.sh

Modified: comdev/projects.apache.org/scripts/cronjobs/python3logger.sh
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/cronjobs/python3logger.sh?rev=1727801&r1=1727800&r2=1727801&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/cronjobs/python3logger.sh (original)
+++ comdev/projects.apache.org/scripts/cronjobs/python3logger.sh Sun Jan 31 12:29:33 2016
@@ -17,10 +17,11 @@ YYMM=$(date '+%Y-%m')
 exec  >>${LOGDIR}/${BASE}_${YYMM}.log
 echo
 echo '>>>'
-echo Starting $SCRIPT at $(date)
+START=$(date)
+echo Starting $SCRIPT ($$) at $START
 export
 
 ERRTEE=1 python3 -u $SCRIPT 
 
-echo Completed $SCRIPT at $(date)
+echo Completed $SCRIPT ($$) at $(date) (START $START)
 echo '<<<'



Mime
View raw message