Trigger events when periods of time changes