Move scheduler specific maintenance interval into the scheduler