Schedule some tasks to happen for a length of time with priority behaviours