Job_SetEndTime

Description

Sets the end time and calculates the number of seconds used between Job_SetStartTime and Job_SetEndTime and writes it to the Job log, e.g:

12:59:47 : True : Job_SetEndTime : True (Installation Ended)
12:59:47 : True : Job_SetEndTime : True (Installation time '9' seconds)
12:59:47 : True : Job_SetEndTime : True (Completed)

 

Syntax

Job_SetEndTime() As Boolean

 

Example

VBScript
If bStatus Then bStatus = Job_SetEndTime()

Scripting Guidelines

 

See Also

Stat_IncJobSucceded Stat_IncJobSucceded Job_SetStartTime