Definindo scheduler