scheduleTasks