[RX-16258] Discrepancy in the publishing elapsed time between task email notification

Created: Wed, 4 Aug 2010 09:40:31 -0400 (EDT)
Affected Version(s): 6.6, 6.6.1, and 6.7
Description: The elapsed time reported by Notification e-mails may differ slightly from the elapsed time reported in the Publishing Log.

To correct the Notification to report more the time more accurately, edit the Run_Edition_Template, and replace the existing Velocity code for “Elapsed Time” with the following code:

#set($hour=$tools.math.idiv($sys.executionElapsedTime,3600000))
#set($hour_rem=$tools.math.mod($sys.executionElapsedTime,3600000))
#set($min=$tools.math.idiv($hour_rem,60000))
#set($min_rem=$tools.math.mod($hour_rem,60000))
#set($sec=$tools.math.idiv($min_rem,1000))
Elapsed Time: $tools.number.format(“00”,$hour):$tools.number.format(“00”,$min):$tools.number.format(“00”,$sec)
Workaround (if applicable): 1. Content Explorer > Admin tab > Task Notifications > Edit the Run_Edition_Template
2. Delete/Remove the velocity code for the “Elapsed Time” on the template, and replace with the following:

#set($hour=$tools.math.idiv($sys.executionElapsedTime,3600000))
#set($hour_rem=$tools.math.mod($sys.executionElapsedTime,3600000))
#set($min=$tools.math.idiv($hour_rem,60000))
#set($min_rem=$tools.math.mod($hour_rem,60000))
#set($sec=$tools.math.idiv($min_rem,1000))
Elapsed Time: $tools.number.format(“00”,$hour):$tools.number.format(“00”,$min):$tools.number.format(“00”,$sec)

Status: Unresolved - Open