We analyse a periodically driven SIR epidemic model for childhood related diseases, where the contact rate and vaccination rate parameters are considered periodic. The aim is to define optimal vaccination strategies for control of childhood related infections. Stability analysis of the uninfected solution is the tool for setting up the control function. The optimal solutions are sought within a set of susceptible population profiles. Our analysis reveals that periodic vaccination strategy hardly contributes to the stability of the uninfected solution if the human residence time (life span) is much larger than the contact rate period. However, if the human residence time and the contact rate periods match, we observe some positive effect of periodic vaccination. Such a vaccination strategy would be useful in the developing world, where human life spans are shorter, or basically in the case of vaccination of livestock or small animals whose life-spans are relatively shorter.