Just-in-Time Scheduling: Models and Algorithms for Computer