In multi-task computer systems, the allocation of resources with respect to time is a life-critical issue, which must be handled accurately. There are lots of constraints that make the schedulers complex. Besides of the constraints, there are also one or more objectives. Optimizing the objectives and satisfying the constraints make the scheduling hard and dependent to a specific domain. At this point, we are planning to use Software Product Line (SPL) concept to find a generic solution to the scheduling problem by clearly defining all commonalities and variabilities; and reusing them in products in the same product family. In addition, SPL provides numerous benefits to optimal schedulers in many ways, which will be mentioned in detail.