In this paper, we introduce a new approach based on DC (Difference of Convexfunctions) Programming and DCA (DC Algorithm) for minimizing the maintenancecost involving flow-time and tardiness penalties by optimal scheduling and real-timeassignment of preventive maintenance jobs on parallel processors. The main idea is to dividethe horizon considered into $H$ intervals. The problem is first formulatedas a mixed integer linear problem (MILP) and then reformulated as a DCprogram. A solution method based on DCA is used to solve the resultingproblem. The efficiency of DCA is compared with the algorithm based on thenew flow-time and tardiness rule (FTR) given in [1]. Thecomputational results on several test problems show that the solutionsprovided by DCA are better.