Minimum Message Waiting Time Scheduling in Distributed Systems