server part of TaskScheduler