Skip to content

Job_SetEndTime

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 : Installation Ended
12:59:47 : True : Job_SetEndTime : Installation time ‘9’ seconds
12:59:47 : True : Job_SetEndTime : Completed

When a job succeeds, Job_End calls Job_SetEndTime automatically and saves the installation time in the job statistics.

Job_SetEndTime() As Boolean

If bStatus Then bStatus = Job_SetEndTime()

Scripting Guidelines

Job_SetStartTime Constants Package Property Variables