store the end time of jobs