Writes to temporary table pla_task_times. Wait until CLASSe is done before changing