Programmed depot maintenance