check to see if hc_data_minutes has reached 1440 (24 hours) and start to delete old rows as new ones are added