collects data for each hour, runs every 10 minutes