another bug, another day, another 40 lines of code… yes, I’m slow.
Last night I received an empty stat file download.
A likely potential problem with the drifting FAH stat updates.
After some triage, the stats were updated and the EOD numbers completed. EOD…. end-of-day.
Apparently, I had caught the system when the file was being replaced which resulted in an empty file.
I now have a BASH script function that will validate downloads and make three attempts at 30-second intervals to get a valid update.