Task duration

Hallo, How do I impementiere the execution time in a task?
As I say the task which he after his execution for a certain time is not active?
After this execution time, a new task must be started.
How can I tell the starting times of the tasks?