Predictive Task Scheduling