automatic programming the task

automatic programming the task

Help: is there any option for automatic programming the tasks based on dependency? for example, once I set task1 as a predecessor of task2, this last one automaticly adjust its start date as the end date of task 1?