1. An apparatus comprising: at least one processor configured to implement a method comprising: analyzing a plurality of tasks; determining a privilege level for each of the task; determining a schedule for each of the tasks; and scheduling the tasks for execution based on the privilege level and the schedule of each task.