Run periods and shift scheduling