Checks the temperature every 5 min and records it in a text file with the current date.