Author Topic: Upload an Additional File at a Programmable Time  (Read 139 times)

xairbusdriver

  • Storm
  • *****
  • Posts: 2181
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.13.4/WC 3.0
Upload an Additional File at a Programmable Time
« on: August 01, 2018, 02:32:51 PM »
Since WC is now 99.998% perfect, I assume The Dev has lots of free time! cmu:-) So, to cover that 0.002%, I'm suggesting an "improvement" in how Additional Files could be handled/uploaded.

As best as I can determine, the upload 'timer' for Additional Files starts as close as possible to the time the user clicks the "OK" button when setting up the path and period values. This is purely my assumption.
Question: Is that an accurate assumption?

I have one file/page (Statistics) that would be best if updated at the end of each day (or a few minutes later). However, at the present, I think the maximum 'period' is 999 minutes, well short of the 1440 minutes in a day. I have been using a timer set to 720.0 (every 12 hours). Unfortunately, if my assumption about when the 'timer' starts is correct, I should edit/start that timer a few minutes after Noon (local) in order for the data to be accurate when I arise the next day.

Question: Is a 'timer' automatically re-started with a RE-start of WC?
Our area, especially during the warm months of the year, can easily have a thunderstorm almost weekly. Quite often, the lightening can cause power loss for milliseconds to several hours, usually resulting in the WC computer to shutdown. While WC (and the computer) will restart automatically, I would like to know if the 'timers' also are reset and start their count-down again? That should not be a significant problem for timers running several times an hour, of course. However, for one that runs only twice a day, it could end up being several hours late, especially after several hours long power outages.

The obvious solution to my problem is to simply set the 'timer' for this virtually static page to 60 minutes. [banghead] [blush] That way, even if I am forced to get up at Oh Dark Thirty, the Statistics will correctly show yesterday data correctly. I am hoping the capability to set an actual time might be of help to others, also.

For the time being, I have changed the period for this file/page to 360.0 minutes, thus it should include accurate data for the previous page at my normal wake-up time. [bed] [rolleyes2]

Thanks!