Shortest job next
Shortest job next (SJN) – also known as shortest job first (SJF) or shortest process next (SPN) – is a method used by a computer operating system to decide which task to run first. When a computer has multiple programs or commands waiting to be processed, this scheduling policy chooses the waiting process with the smallest execution time.