set scheduler and nice