Cronj implemented to schedule midnight clearing