Scheduling of Directed Acyclic Graphs