set scheduler