Real-time scheduling of tertiary storage door