A Sub-Optimal On-Line Scheduling Algorithm with Scheduling Window