You are correct about the cron pattern. I did make one change though, in that I would like to do it right before the day ends.
The reason is that if the previous day is calculated on the following day the data value is entered on the calculated day. Then the average daily temperature would always be a day off.
In any case, my main reason for wanting to do this is to also get the History. However, when I run the "Generate History" I get data points every 7 seconds, which is the rate of actual outdoor temperature sensing.
So how can I also go back in history and get the daily average temperature entered in the data point?