store task start/end time in schedule_queue table