refactor report scheduler service.