write statistics at full minute