Helpers for scheduling the dark-light cycle
