set the time to execute the task