trackTask

Track the duration of a task.