Process Planning and Scheduling for Distributed