Fix job scheduling process